You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: jburgess[at]uklinux.net [Submitted to the original trac issue database at 7.30pm, Tuesday, 16th October 2007]
I noticed that an API query which results in a 410 GONE seems slow. It actually prints the response lines within a fraction of a second but then sits there for 5 seconds before returning. Looking at a packet trace in Wireshark shows that there is a 5 second pause between sending the response and the final FIN being sent by the web server. For API requests which return OK(200) & data there is no such delay.
Something which may be related is it returns Content-length: 1, which is odd seeing as there is no data returned. Perhaps rails or lighttpd is confused for 5 seconds waiting for some content?
Author: tom[at]compton.nu [Added to the original trac issue at 11.36pm, Tuesday, 16th October 2007]
It's wget that is waiting for content - this is a bug in either rails or lighttpd (probably rails) where it sends a content length of one but no content when it was told to send no content. There isn't much I can do about it I'm afraid.
Author: jburgess[at]uklinux.net [Added to the original trac issue at 12.04am, Wednesday, 17th October 2007]
I still get content-length:1 when I run against a local WEBrick instance but do not suffer the 5 second delay. I understand this doesn't change the resolution but it points towards the delay being due to lighttpd (even if the trigger may be the bad content-length).
Reporter: jburgess[at]uklinux.net
[Submitted to the original trac issue database at 7.30pm, Tuesday, 16th October 2007]
I noticed that an API query which results in a 410 GONE seems slow. It actually prints the response lines within a fraction of a second but then sits there for 5 seconds before returning. Looking at a packet trace in Wireshark shows that there is a 5 second pause between sending the response and the final FIN being sent by the web server. For API requests which return OK(200) & data there is no such delay.
Something which may be related is it returns Content-length: 1, which is odd seeing as there is no data returned. Perhaps rails or lighttpd is confused for 5 seconds waiting for some content?
The text was updated successfully, but these errors were encountered: