Re: [Cppcms-users] Howto disable HTTP timeout introduced with 0.99.10
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2011-11-17 12:31:45
|
Currently there is no way to disable this timeout. However you can define very high value for example a month (24*3600* 30) See: http://cppcms.sourceforge.net/wikipp/en/page/cppcms_1x_config#http.timeout Also I would strongly discourage from using infinite timeout as for example client closes the connection without notification (shutdown(2))you will **never** detect it or detect it after very long period of time which makes the application vulnerable. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.sf.net/ CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/ ----- Original Message ----- > From: Julian Pietron <ju...@wh...> > To: cpp...@li... > Cc: > Sent: Thursday, November 17, 2011 1:53 PM > Subject: [Cppcms-users] Howto disable HTTP timeout introduced with 0.99.10 > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hallo, > > is there a way to disable the HTTP timeout that has been introduced in > 0.99.10 and restore the old behaviour of having no timeouts at all? As > we are using COMET long polling over here, we'd require a connection > that doesn't time out. Automatically reconnect from client side is no > option here, as we send the reconnect command in our response and so the > client won't do anything if it receives an empty 200 Ok response. > > Thanks, > Julian > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.18 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQIcBAEBAgAGBQJOxPXDAAoJENidYKvYQHlQZPoP/3l+GivNAjNpYj4U1IxSdimq > r0Pief7a24/EZiOixSA2ZxB7Int3LEwMjHhFy2+TdrUGzkFBeZZnpKiajtCb9ZvG > 2Or+s8jkEAPIa4gybLPDEOhFGRg0BYmfaOHKlBiDoRSB4RFSOhb8eqn9ZjhaBZE6 > yRAKndAtoCzliH2nWYNf53aD4oGRfWhfxf/Mtu5hk9PSJpoM+fTndePR9iiJRm+Q > J6C7JyJ23tYGM0d2BTHJYFfs6ZkOaD56Lg2Ui2GadJGcejBoo8LKaqltxbHlSTMC > eJn/MpADHceM3AqMJtPRP/p+XwipHkZuqFCPh+WasKDxyoIffA0eP7r0GDugtAIE > f2Y8NJvODxFFvQmR1EuJRH1dVYDTGh9ShpRdQuP6lQxoEhiwCR4gbVXpgHXGS5aC > nrA8X67NY2QpjnPTJ+OlfFOXOsMCWyWsVXe/B3b4vTnsFy520cPpultJDVoieY1g > cLOhwtUeQwPPTOLX3vibjauYU4XVAUD6TqGXJ7QEHl/4tKI3epyH6ZV9u2+oaT0B > 4mNI7/4tYfLUpYpvd4j4kcSDsgoVv1jVqYyHykP7GrqE/C250wyYKTkDnXgnOZ1S > sj+EtpJMMYoM2lyOKc1gz9HE37BFFNL1dnPZ35tH+K9x5v1vKvlddNdVQ7DZXTln > 9a5D+rso8rAp+ZmXojQY > =08t0 > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |