473,411 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Why "HTTP CONNECT" disconnects atfer 15 Mins in few proxy server ???

Hi all,
I am maintaing a persistent HTTP connection using the "HTTP
CONNECT" method , this works fine for many proxies like Squid, ISA ,
etc. But the iPlanet proxy disconnects the conneciton after 15 mins.
It fires the HTTP 501 status code saying " Server Internal Error".

Is there any way the i can overcome this problem and maintain a
persistent HTTP connection or should i reconnect the socket for
certain time interval.

If i should reconnect the socket , is there any standard
implementation or algorithm which i can follow to maintain a
persistent HTTP connection.

ne help will greatly apppreciated.

Regards

Manjesh
Jul 17 '05 #1
1 2894
ma********@hotmail.com (Manjesh Gowda) wrote in message news:<e5**************************@posting.google. com>...
Hi all,
I am maintaing a persistent HTTP connection using the "HTTP
CONNECT" method , this works fine for many proxies like Squid, ISA ,
etc. But the iPlanet proxy disconnects the conneciton after 15 mins.
It fires the HTTP 501 status code saying " Server Internal Error".

Is there any way the i can overcome this problem and maintain a
persistent HTTP connection or should i reconnect the socket for
certain time interval.

If i should reconnect the socket , is there any standard
implementation or algorithm which i can follow to maintain a
persistent HTTP connection.

ne help will greatly apppreciated.

Regards

Manjesh


Are you sending data in these 15 minutes or is the socket IDLE. If you
are sending data over the connection and the iPlanet proxy is still
answering with 501 then that is either a time-out or a bug in the
iPlanet proxy (you probably already knew that ;). If it is a time-out
then maybe you can try to do something with the keep-alive property
see http://www.io.com/~maus/HttpKeepAlive.html

Regards

Douwe
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Manjesh Gowda | last post by:
Hi all, I am maintaing a persistent HTTP connection using the "HTTP CONNECT" method , this works fine for many proxies like Squid, ISA , etc. But the iPlanet proxy disconnects the conneciton...
1
by: mike | last post by:
regards: I write java code to simulate my machine as a HTTP server, what is the "MUST REPLY" HTTP response headers? In my small survey,I think there are 2 "MUST REPLY" HTTP response headers....
12
by: Mikito Harakiri | last post by:
I wonder if WITH RECURSIVE MaryAncestor(anc,desc) AS ( (SELECT parent as anc, child as desc FROM ParentOf WHERE desc = "Mary") UNION (SELECT A1.anc, A2.desc FROM MaryAncestor A1, MaryAncestor...
2
by: Hunter | last post by:
when I firstly ran "connect to dbname" command after "db2start", it spent me about 10 mins. I saw a process named "db2sync" that used 700M memory. The OS is Linux Advanced Server V2.1, Database...
1
by: DellaCroce | last post by:
I am trying, for the first time, to set up a small development system at home. I have two computer C1 and C2. C2 has SQL Server 2000 and IIS running on. C1 has VS.Net 2003 running on it. ...
3
by: Benny Ng | last post by:
Dear All, Now I met some performance problems in my application. Because according to our business. The size of some web forms are larger than 1xxx MB. So it takes a long time for user opening a...
3
by: John Nagle | last post by:
I'm getting a wierd error from urllib2 when opening certain URLs. The code works for most sites, but not all of them. Here's the traceback: InfoSitePage EXCEPTION while processing page...
3
by: cberthu | last post by:
Hi all, Is it possible to have two connects in the same rexx script to different DB's? I have to get data form on DB (with specifics selects and filter out some values with RExx) and save the...
11
by: jjw92 | last post by:
I've been banging my head against the wall with this one for a couple days so I'm hoping someone has some ideas. I have a web service that I created that is called by a .NET class library (which in...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.