Forum OpenACS Development: keep-alive only works with GET requests

Hi,
I'm building a small package which is intended to accepts lots of JSON messages by large number of clients. Client side uses http post and keep-alive method for sending messages.

I'm running openaces under Openaces for Windows 4.5.2.

When client sends the post data with keep-alive headers, openacs get the message and closes the connection.

Looking at nsd\return.c file, within CheckKeep function, it seems to only enabled keep-alive when request is a GET.

Is this a known issue?

Regards,

Collapse
Posted by Gustaf Neumann on
The problem you are pointing (correctly) out is located in aolserver, not OpenACS. Naviserver handles keep-alives independently from the HTTP methods, but as far i know, nobody has built the scripts for compiling naviserver with the native windows compilers.
Collapse
Posted by Maurizio Martignano on
Dear Jamshed Qureshi,
the current configuration I use for my OpenACS installation (both Windows and Linux) is the one described here: http://www.spazioit.com/pages_en/sol_inf_en/windows-openacs_en/

I find this combination of software packages reliable and more than exceeding my current needs.

I haven't moved yet to Naviserver, nor I plan to move to it in the next few months.

You have in front of you three possibilities:
1. you compile yourself Naviserver;
2. you modify the sources of Aolserver 4.5.2 you can find in my distribution as required;
3. you can ask me to compile Naviserver for you, but that would be a consultancy job performed at these conditions: http://www.spazioit.com/pages_en/sol_inf_en/support_services_en/.

Hope it helps,
Maurizio Martignano