mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 14:28:30 +00:00
parent
dc1afc968b
commit
4abcba8d8f
2 changed files with 20 additions and 1 deletions
|
@ -378,7 +378,7 @@ static int LuaFetch(lua_State *L) {
|
|||
WARNF("(ftch) HTTP client %s error", "EOF headers");
|
||||
goto TransportError;
|
||||
}
|
||||
rc = ParseHttpMessage(&msg, inbuf.p, inbuf.n, inbuf.c);
|
||||
rc = ParseHttpMessage(&msg, inbuf.p, inbuf.n, SHRT_MAX);
|
||||
if (rc == -1) {
|
||||
WARNF("(ftch) HTTP client %s error", "ParseHttpMessage");
|
||||
goto TransportError;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue