bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [bug #20523] wget ignores timeout on HTTPS connections


From: Andrey Mazo
Subject: [Bug-wget] [bug #20523] wget ignores timeout on HTTPS connections
Date: Tue, 12 Jan 2016 22:47:22 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.97 YaBrowser/15.9.2403.2150 (beta) Yowser/2.5 Safari/537.36

Follow-up Comment #6, bug #20523 (project wget):

Oh, sorry for the messed markup.
The same without markup:

1) Make default TCP send buffer less than wget send buffer (which is 8192):
echo "4096 4096 4096" > /proc/sys/net/ipv4/tcp_wmem

2) Generate a sample file larger than TCP send buffer:
dd if=/dev/urandom of=./qqq.junk bs=10M count=1

3) Setup firewall rules to drop large outgoing packets to allow for successful
SSL handshake while blocking bulk uploads:
iptables -I OUTPUT -d <your_https_server> -m length --length 1000:1500 -j
DROP

4) Run wget to send bulk data:
wget --timeout=10 --tries=1 --post-file qqq.junk -O /dev/null
--no-check-certificate 'https://<your_https_server>'

5) Observe wget ignoring the 10 second timeout.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?20523>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]