ostinelli/misultin — Issue #89: Error with file upload on slow network
Author: cloudhead
Created: 2011-12-26 18:58:24+00:00
State: open

I'm testing the file upload functionality with an intentionally crippled network, and getting some timeouts after long file uploads (> 1 min). Here's the setup:

Cap network bandwidth to 600Kbit/s and add 50ms latency:

```shell
sudo ipfw pipe 1 config bw 600Kbit/s delay 50ms

sudo ipfw add 1 pipe 1 src-port 8080
sudo ipfw add 2 pipe 1 dst-port 8080
```

Here's the error I get after about 1.5 minutes of a 900K file:

```plain
18:46:41.773 [error] module: misultin_http
line: 392
error reading body: timeout

18:46:41.777 [error] module: misultin_http
line: 363
request timeout, sending error
```

Any ideas why it's timing out? I'm tracking the file progress, and it's being uploaded..