Hi ,
There are 2 symptoms here
- While loading a large file , server gives an empty response at end , it do not gives 200 OK
- Once we get this empty response , if we quickly go and try to close the server , we can see this exception coming - https://gist.github.com/3956547
In short some other work is going in the background even when the connection is detached.
I would like to avert this behaviour and leave the connection only when the whole work is completed. This was , i can make sure that the feeds are fully loaded when connection is closed.
Thanks
Vineeth
algotree@DELTA:~/temp/cleo-primer$ ./scripts/post-element-list.sh person1 dat/persons.xml
person1
* About to connect() to localhost port 8080 (#0)
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 8080 (#0)
> POST /cleo-primer/rest/elements/person1 HTTP/1.1
> User-Agent: curl/7.21.3 (x86_64-pc-linux-gnu) libcurl/7.21.3 OpenSSL/0.9.8o zlib/
1.2.3.4 libidn/1.18
> Host: localhost:8080
> Content-type: application/xml
> Accept: application/xml
> Content-Length: 19484725
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
* Empty reply from server
* Connection #0 to host localhost left intact
curl: (52) Empty reply from server
* Closing connection #0
https://gist.github.com/3956547