473,651 Members | 2,793 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2927
ma********@hotm ail.com (Manjesh Gowda) wrote in message news:<e5******* *************** ****@posting.go ogle.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
1356
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 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.
1
2167
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. (1)Content-Length: (length of content which will be transmitted) (2)Content-Type: (by
12
3722
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 A2 WHERE A1.desc = A2.anc) ) SELECT anc FROM MaryAncestor
2
5783
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 is V8.1.5. The machine is Compaq ProLiant 8000, 1G Mem. How can I do? thanks..
1
1604
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. All under WinXP I am missing something, because I can not get VS to connect to the SQL Server because "Not associated with Trust SQL Server connection" Where is this set up?? The user name, Dev1, has user profile and permissions on C2 in...
3
1558
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 web page. Surely we are modifying some source code for performance improvment. But now i'm thinking should we improve the application performance by IIS Compression? I saw many mentions from Google/Yahoo. Some people said it can be useful for...
3
2120
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 "http://www.fourmilab.ch": Problem with page "http://www.fourmilab.ch": HTTP error -1 - .. Traceback (most recent call last): File "D:\projects\sitetruth\InfoSitePage.py", line 318, in httpfetch fd = url_opener.open(self.requestedurl) #...
3
4778
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 results into another DB? I know from Wscripts and MS-Sql that you can build just two objects but I did not see something like that in REXX. Thanks in advance for your help
11
8320
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 turn is called by another application). This all works fine in my development environment. Test environment: Windows Server 2003, ASP 6.0, .NET 2.0, Anonymous authentication is enabled. All components (web service, DLL, and calling application)...
0
8352
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8802
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8579
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5612
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4144
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4283
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2699
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1909
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1587
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.