Somewhat ugly fix to deal with non-blocking sockets. We just loop and try
authorDaniel Stenberg <daniel@haxx.se>
Wed, 16 Jan 2002 14:46:00 +0000 (14:46 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 16 Jan 2002 14:46:00 +0000 (14:46 +0000)
commitb6dba9f5dda70e2a038b7aad394fbace7ccbeb82
treeca04402623e74317834945dc1b18b8cbd5c43b24
parent6e9d1617c665dd49b2e46979e59b76363b89ecf3
Somewhat ugly fix to deal with non-blocking sockets. We just loop and try
again. THIS IS NOT A NICE FIX. We should/must make a select() then and only
retry when we can write to the socket again.
lib/ftp.c