aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib1511.c
diff options
context:
space:
mode:
authorAles Novak <alnovak@suse.cz>2016-08-23 14:13:18 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-08-23 15:31:07 +0200
commit7ad50a61f28f773ad2d2f03031423da81bfb69fe (patch)
treee6ec39b327b038162c9267252b438be7d07d533e /tests/libtest/lib1511.c
parent15592143f3bf9ca05293ea849767ea4704a18e4d (diff)
ftp: fix wrong poll on the secondary socket
When we're uploading using FTP and the server issues a tiny pause between opening the connection to the client's secondary socket, the client's initial poll() times out, which leads to second poll() which does not wait for POLLIN on the secondary socket. So that poll() also has to time out, creating a long (200ms) pause. This patch adds the correct flag to the secondary socket, making the second poll() correctly wait for the connection there too. Signed-off-by: Ales Novak <alnovak@suse.cz> Closes #978
Diffstat (limited to 'tests/libtest/lib1511.c')
0 files changed, 0 insertions, 0 deletions