Hi Stéphane,
the file is 50 MB,I've also tried with 30MB with the same results. If I use curl I get a correct chunked encoding transfer:
javier@gatling:~/gatling-charts-highcharts-1.4.4$ curl -v -X POST -H "Transfer-Encoding: chunked" -i --data-binary @user-files/request-bodies/payload.bin
http://192.168.212.71:9080/file* About to connect() to 192.168.212.71 port 9080 (#0)
* Trying 192.168.212.71... connected
> POST /file HTTP/1.1
> User-Agent: curl/7.22.0 (i686-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/
1.2.3.4 libidn/1.23 librtmp/2.3
> Accept: */*
> Transfer-Encoding: chunked
> Content-Type: application/x-www-form-urlencoded
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
HTTP/1.1 100 Continue
< HTTP/1.1 201 Created
HTTP/1.1 201 Created
< Server: spray-can/1.1-M7
Server: spray-can/1.1-M7
< Date: Tue, 19 Mar 2013 20:01:25 GMT
Date: Tue, 19 Mar 2013 20:01:25 GMT
< Content-Length: 0
Content-Length: 0
<
* Connection #0 to host 192.168.212.71 left intact
* Closing connection #0
Thanks!
Javier