diff options
Diffstat (limited to 'source/http.c')
-rw-r--r-- | source/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/http.c b/source/http.c index 1979e22..be62dce 100644 --- a/source/http.c +++ b/source/http.c | |||
@@ -58,7 +58,7 @@ static int tcpWrite( | |||
58 | result = net_write(*(s32*)firstParam, buffer, block); | 58 | result = net_write(*(s32*)firstParam, buffer, block); |
59 | } | 59 | } |
60 | 60 | ||
61 | if ((result == 0) || (result == -56)) | 61 | if ((result == 0) || (result == -56) || (result == -11)) |
62 | { | 62 | { |
63 | usleep(20 * 1000); | 63 | usleep(20 * 1000); |
64 | 64 | ||
@@ -73,7 +73,7 @@ static int tcpWrite( | |||
73 | sent += result; | 73 | sent += result; |
74 | left -= result; | 74 | left -= result; |
75 | buffer += result; | 75 | buffer += result; |
76 | usleep(100); | 76 | usleep(1000); |
77 | 77 | ||
78 | if ((sent / TCP_BLOCK_SIZE) > step) | 78 | if ((sent / TCP_BLOCK_SIZE) > step) |
79 | { | 79 | { |