[Catalyst] Re: Delays in Explorer connections via Catalyst

Сергей Дмитриев s_dmitriev at inbox.ru
Mon Mar 19 05:42:24 GMT 2012


Hello All,

My two cents. First, in my opinion it seems content-length issue,
probably related to unicode or binary stream data.
Second, you could try to update Catalyst installation.
>>X-Catalyst: 5.80032

Sergey

2012/3/18 will trillich <will.trillich at serensoft.com>:
> Ooh, ngrep is wicked awesome! Thanks for that tidbit--
>
> Now, back to the salt mines: Adding --fork or --keepalive to the
> command-line for the test server didn't make any improvement. Same problem
> seems to happen (off and on) when running under FastCGI in Apache as well.
>
> Using ngrep on the server, we can see the requests arrive at the server
> immediately, as suspected:
>
> T 2012/03/18 13:56:27.290616 192.168.0.119:58316 -> 192.168.0.10:3000 [AP]
>   GET /incident/2499/tab/info?_=1332096987014 HTTP/1.1..x-requested-with:
> XMLHttpRequest..Accept-Language: en-us..Referer:
> http://localhost:3000/incident/2499/..Accept: */*..UA-CPU:
> x86..Accept-Encoding:
>    gzip, deflate..User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT
> 5.1)..Host: localhost:3000..Connection: Keep-Alive..Cookie:
> incident_web_session=48e12cad549328590ac73b82396f01376129de24...
>   .
> #####
> T 2012/03/18 13:57:45.686752 192.168.0.10:3000 -> 192.168.0.119:58316 [AP]
>   HTTP/1.0 200 OK..Cache-Control: no-cache..Connection: close..Date: Sun, 18
> Mar 2012 18:57:45 GMT..Content-Length: 9616..Content-Type: text/html;
> charset=utf-8..Set-Cookie: incident_web_session=48e12cad54932
>   8590ac73b82396f01376129de24; path=/; expires=Sun, 18-Mar-2012 20:57:45
> GMT; HttpOnly..Status: 200..X-Catalyst: 5.80032....
> #
>
> Here you can see there's a MINUTE AND 18 SECONDS between request @13:56:27
> and response @13:57:45! Argh! Once it does make its way back to the browser
> everything is golden. But making users wait for 75+ seconds just isn't
> feasible.
>
> We're testing IE7 since that's what our client's clients seem to use :(
> unfortunately.
>
>
>
> So there's frequent (but not 100% consistent) delay on the server-side when
> an Explorer request comes in to Catalyst, which doesn't affect FireFox or
> Chrome. Brainstorming welcome! Ideas?
>
>
>
> On Sun, Mar 18, 2012 at 1:01 PM, Adam Sjøgren <asjo at koldfront.dk> wrote:
>>
>> On Sun, 18 Mar 2012 11:37:44 -0500, will wrote:
>>
>> > When we run the server via "*script/*server.pl -d*" we sometimes don't
>> > even
>>
>> What happens if you add '--fork' to the command? Or perhaps
>> '--keepalive' (I seem to remember IE liking that, at least at one point
>> in time)?
>>
>> Could it be a Content-Length issue? (The browser waiting for the number
>> of bytes in the header, the number being off (too high)?)
>>
>> I can, by the way, recommend ngrep¹ for debugging stuff like this, it's
>> quite nice.
>>
>>
>>  Best regards,
>>
>>    Adam
>>
>>
>> ¹ http://packages.debian.org/sid/ngrep
>>
>> --
>>  "500 mil i snön                                              Adam Sjøgren
>>  Ett UFO över sjön                                      asjo at koldfront.dk
>>  och i en blixt dansar
>>  Lady Day vals med Astaire"
>>
>> _______________________________________________
>> List: Catalyst at lists.scsys.co.uk
>> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>> Searchable archive:
>> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
>> Dev site: http://dev.catalyst.perl.org/
>
>
>
>
> --
> "We act as though comfort and luxury were the chief requirements of life,
> when all that we need to make us happy is something to be enthusiastic
> about." -- Albert Einstein
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>



-- 
Love never fails.



More information about the Catalyst mailing list