httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel <dferra...@gmail.com>
Subject Re: [users@httpd] apache in proxy mode introduces extra delay for sockjs in xhr poll mode
Date Fri, 26 May 2017 11:11:47 GMT
Have you tried with disabling reuse to see if the problem persists?

2017-05-26 12:54 GMT+02:00 Stepan Yakovenko <stiv.yakovenko@mail.ru.invalid>:
> I need to handle users disconnecting from my sockjs application running in
> xhr-polling mode. When I connect to localhost, everything works as expected.
> When I put apache between nodejs and browser, I get ~20 sec delay between
> closed browser and disconnect event inside nodejs. My apache proxy config is
> following:
>
> <Location/>
> ProxyPass http://127.0.0.1:8080/
> ProxyPassReverse http://127.0.0.1:8080/
> </Location>
>
> The rest of the file is default, you can see it here. I tried playing with
> ttl=2 and timeout=2 options, but either nothing changes, or I get
> reconnected each 2 seconds without closing browser. How can I reduce
> additional disconnect timeout, introduced, but apache, somewhere in its
> defaults?
>
>
>
>
> --
> Stepan Yakovenko



-- 
Daniel Ferradal
IT Specialist

email         dferradal at gmail.com
linkedin     es.linkedin.com/in/danielferradal

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message