mirror of
https://github.com/curl/curl.git
synced 2026-08-05 12:06:15 +03:00
7.10.4-pre2 commit
This commit is contained in:
parent
a6206a3aef
commit
065b87e949
7 changed files with 48 additions and 14 deletions
|
|
@ -226,6 +226,7 @@ static int get_request(int sock, int *part)
|
|||
if (got <= 0) {
|
||||
if (got < 0) {
|
||||
perror("recv");
|
||||
logmsg("recv() returned error");
|
||||
return DOCNUMBER_INTERNAL;
|
||||
}
|
||||
logmsg("Connection closed by client");
|
||||
|
|
@ -312,7 +313,7 @@ static int get_request(int sock, int *part)
|
|||
|
||||
logmsg("Got illegal request");
|
||||
fprintf(stderr, "Got illegal request\n");
|
||||
return -1;
|
||||
return DOCNUMBER_404;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue