Click here to Skip to main content
15,923,197 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMSflexgrid limit Pin
act_x5-Nov-03 8:30
act_x5-Nov-03 8:30 
GeneralRe: MSflexgrid limit Pin
David Crow5-Nov-03 8:38
David Crow5-Nov-03 8:38 
Generalbitmap problem Pin
kendao5-Nov-03 8:28
kendao5-Nov-03 8:28 
GeneralRe: bitmap problem Pin
Christian Graus5-Nov-03 8:38
protectorChristian Graus5-Nov-03 8:38 
GeneralUpdating a window! Pin
Dracula50005-Nov-03 8:06
Dracula50005-Nov-03 8:06 
GeneralRe: Updating a window! Pin
Christian Graus5-Nov-03 8:41
protectorChristian Graus5-Nov-03 8:41 
GeneralRe: Updating a window! Pin
JDasari6-Nov-03 6:55
JDasari6-Nov-03 6:55 
GeneralIIS & Chunk Encoded Data Support Pin
lsacalvi5-Nov-03 6:13
lsacalvi5-Nov-03 6:13 
Hi everybody

I'm currently developping a Http 1.1 Client in C++.
I try to send chunk encoded data to a very simple http 1.1 CGI server
I have written in c++ for testing.

here the http request message the client sends :

POST http://MyHost/cgi-bin/MyHttpSrv.exe HTTP/1.1\r\n
Host: MyHost\r\n
Transfer-encoding: chunked\r\n
Content-type: text/plain\r\n
\r\n
2\r\ngo\r\n
0\r\n
\r\n

My problem is that the server never responds anything. It seems to be
blocked.
My configuration :
- Win2000 Pro + Personnal Web Server (IIS 5.0 reduced version)

I have reduced the CGI to the simplier ... and nothing happens.
Here is CGI source code :

int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
{
cout << "Content-type: text/html\r\n" ;
cout << "Content-Length: 9\r\n" ;
cout << "\r\n";
cout << "Server OK";
return 0;
}

If I post the same request to an equivalent ASP page, the server runs
correctly !!??

Has anyone a suggestion ?

Tx

Lsa
GeneralTerminal Server Install Mode Pin
Steve Thresher5-Nov-03 4:26
Steve Thresher5-Nov-03 4:26 
GeneralNetwork User Name on the Task Bar Pin
WinBond5-Nov-03 3:33
WinBond5-Nov-03 3:33 
GeneralRe: Network User Name on the Task Bar Pin
David Crow5-Nov-03 4:58
David Crow5-Nov-03 4:58 
GeneralRe: Network User Name on the Task Bar Pin
WinBond5-Nov-03 20:39
WinBond5-Nov-03 20:39 
GeneralRe: Network User Name on the Task Bar Pin
David Crow6-Nov-03 6:18
David Crow6-Nov-03 6:18 
GeneralRe: Network User Name on the Task Bar Pin
WinBond7-Nov-03 0:11
WinBond7-Nov-03 0:11 
GeneralNeed help to determine F0 in VC++ Pin
thanh_bkhn5-Nov-03 2:46
professionalthanh_bkhn5-Nov-03 2:46 
GeneralRe: Need help to determine F0 in VC++ Pin
David Crow5-Nov-03 5:11
David Crow5-Nov-03 5:11 
GeneralNetwork programming Pin
Katamneni5-Nov-03 2:44
Katamneni5-Nov-03 2:44 
GeneralRe: Network programming Pin
valikac5-Nov-03 5:59
valikac5-Nov-03 5:59 
GeneralCalling OpenGL display list Pin
Jean Bédard5-Nov-03 2:43
Jean Bédard5-Nov-03 2:43 
GeneralMore details Pin
Jean Bédard5-Nov-03 3:15
Jean Bédard5-Nov-03 3:15 
GeneralRe: More details Pin
Orhun Birsoy5-Nov-03 5:11
Orhun Birsoy5-Nov-03 5:11 
GeneralBM_SETIMAGE wont show the image Pin
ns5-Nov-03 2:35
ns5-Nov-03 2:35 
GeneralRe: BM_SETIMAGE wont show the image Pin
Michael Dunn5-Nov-03 12:40
sitebuilderMichael Dunn5-Nov-03 12:40 
GeneralRe: BM_SETIMAGE wont show the image Pin
ns7-Nov-03 3:00
ns7-Nov-03 3:00 
GeneralSimulate propertypage with the dialog dll-based Pin
w_yufeng5-Nov-03 2:24
w_yufeng5-Nov-03 2:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.