[bug #61038] Windows post fails to post files over 65536 bytes,

anonymous <[email protected]> Thu, 2 Jan 2025 14:26:26 -0500 (EST)
Newsgroups gmane.comp.web.wget.general
Message-ID <[email protected]>
--8323329-864018789-1735845986=:1413397
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

Follow-up Comment #11, bug #61038 (group wget):=0A=0AWGET binary compiled b=
y Martin Guy as part of SOX:=0A=0A"http://martinwguy.net/test" ca 18 MiO EX=
E size=0A=0A"wget.exe" 18'711'399=0A=0ATest results:=0A* the binary is abur=
dly bloated and the size is=0A  even odd (usually it's a multiple of 256 O)=
=0A* it works somewhat=0A* the debug verbosity is very high (much higher th=
an I am=0A  used to from CURL)=0A* I can GET files=0A* I can POST files bel=
ow 8 KiO=0A* I can POST files over 8 KiO but below 64 KiO (this=0A  failed =
with version 1.19.4)=0A* POST:ing of files over 64 KiO reliably fails (this=
 works with=0A  CURL, and this used to work with good old 1.11.4 before the=
=0A  servers started hating its crypto support)=0A=0AThis is what the debug=
 verbosity reveals:=0A=0A    ---request begin---=0A    POST /xxx.php HTTP/1=
.1=0A    Host: www.xxx.net=0A    Referer: https://www.xxx.net=0A    User-Ag=
ent: myagent=0A    Accept: */*=0A    Accept-Encoding: identity=0A    Connec=
tion: Keep-Alive=0A    Content-Type: multipart/form-data;=0Aboundary=3Dxzsy=
uzMLSrrmYVXvnqNZNKrmKWnRmLrTpMNx=0A    Content-Length: 81517=0A    Cookie: =
xxx=0A=0A    ---request end---=0A    [writing BODY file MYHUGEBODY.TXT ... =
Retrying.=0A=0A    --2025-01-03 09:52:56--  (try: 3)  https://www.xxx.net/x=
xx.php=0A    Found www.xxx.net in host_name_addresses_map (03d641d0)=0A    =
Connecting to www.xxx.net|188.13.52.214|:443... seconds 60.00, Winsock=0Aer=
ror: 0=0A    connected.=0A    Created socket 4.=0A    Releasing 0x03d641d0 =
(new refcount 1).=0A=0A    ---request begin---=0A    POST /xxx.php HTTP/1.1=
=0A    Host: www.xxx.net=0A    Referer: https://www.xxx.net=0A    User-Agen=
t: myagent=0A    Accept: */*=0A    Accept-Encoding: identity=0A    Connecti=
on: Keep-Alive=0A    Content-Type: multipart/form-data;=0Aboundary=3Dxzsyuz=
MLSrrmYVXvnqNZNKrmKWnRmLrTpMNx=0A    Content-Length: 81517=0A    Cookie: xx=
x=0A=0A    ---request end---=0A    [writing BODY file MYHUGEBODY.TXT ... Gi=
ving up.=0A=0A    Saving cookies to XXX.TXT.=0A    Done saving cookies.=0A=
=0AThe error code is 4. The interesting line is:=0A=0A    [writing BODY fil=
e MYHUGEBODY.TXT ... Retrying.=0A=0Aand=0A=0A    [writing BODY file MYHUGEB=
ODY.TXT ... Giving up.=0A=0AWhile the debug verbosity is very high most of =
the time, it seems=0Ato temporarily sink to ZERO exactly at the moment when=
 the writing=0Aof the body fails. :-( Absolutely no clue what the problem i=
s.=0A=0A=0A=0A    _______________________________________________________=
=0A=0AReply to this item at:=0A=0A  <https://savannah.gnu.org/bugs/?61038>=
=0A=0A_______________________________________________=0AMessage sent via Sa=
vannah=0Ahttps://savannah.gnu.org/=0A
--8323329-864018789-1735845986=:1413397
Content-Type: APPLICATION/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ3boYgAKCRCqLAuaBUf3
ToxxAQCwh7LoUxSX0632r+tDwtrbaBb1BSFqTVh97bcTcUiM5gEAsICiecv3o/mB
FBeCrb1Wk524jMTUT3dSqZj+aNivPg4=
=txSg
-----END PGP SIGNATURE-----

--8323329-864018789-1735845986=:1413397--