folkertvanheusden / HTTPing

Ping an HTTP server
GNU Affero General Public License v3.0
31 stars 9 forks source link

short read during receiving reply-headers from host #25

Closed O-ring closed 5 days ago

O-ring commented 5 days ago

Hello everyone,

I have compiled the current version (last commit november 16) on Slackware linux 15 (64 bit) and a regression was introduced: now I get this message when I run the following command:

httping -k https://www.google.com Auto enabling SSL due to https-URL PING www.google.com:443 (/): short read during receiving reply-headers from host short read during receiving reply-headers from host short read during receiving reply-headers from host short read during receiving reply-headers from host

Instead, I get the expected result with the version I downloaded on november 4:

httping -k https://www.google.com Auto enabling SSL due to https-URL PING www.google.com:443 (/): connected to 216.58.204.228:443 (1183 bytes), seq=0 time=181.59 ms connected to 216.58.204.228:443 (1362 bytes), seq=1 time=172.19 ms connected to 216.58.204.228:443 (1756 bytes), seq=2 time=165.77 ms connected to 216.58.204.228:443 (1756 bytes), seq=3 time=181.20 ms

Any response is welcome. Thanks in advance.

Cheers, Marco

folkertvanheusden commented 5 days ago

Something goes wrong yes. When I compile it in a "git bisect" it works though?! Am looking into it.

folkertvanheusden commented 5 days ago

I believe it is now fixed in 10dd32eff66955a6479a56bfbbd172f2cc7bc24c

Thanks for reporting by the way.

O-ring commented 5 days ago

I tested it: it works now. Thanks for your quick response.

Marco