Differences From:
File
src/winhttp.c
part of check-in
[dfb68976be]
- Add the "ui" command to automatically launch a web browser after
starting the HTTP server. The web browser choice can be configured
using the "setting" command.
by
drh on
2008-05-17 18:19:11.
[view]
To:
File
src/winhttp.c
part of check-in
[b9eec2d277]
- Fix a bug in the new win32 server implementation.
by
drh on
2008-05-17 19:24:52.
[view]
@@ -98,9 +98,9 @@
if( amt>=sizeof(zHdr) ) goto end_request;
out = fopen(zRequestFName, "wb");
if( out==0 ) goto end_request;
fwrite(zHdr, 1, amt, out);
- while( wanted ){
+ while( wanted>0 ){
got = recv(p->s, zHdr, sizeof(zHdr), 0);
if( got==SOCKET_ERROR ) goto end_request;
if( got ){
fwrite(zHdr, 1, got, out);