|
How can I make a "keep alive" HTTP request using Python's urllib2?
Started by ibz on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This includes an HTTP handler for urllib2 that supports HTTP 1.1 and keepalive:
>>> import urllib2 >>> from keepalive import... .
Use the urlgrabber library.
Look to the main introductory comment for usage details.
This handler might work.
|
|
I have heard of HTTP keep-alive but for now I want to open a socket connection with a remote server.
Now will this socket connection remain open forever or is there a timeout limit associated with it similar to HTTP keep-alive?
Started by Kevin Boyd on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
EDIT: SO_KEEPALIVE is implemented in the OS network protocol....
The Java Socket API exposes "keep-alive" to applications via the setKeepAlive and getKeepAlive methods.
You are looking for the SO_KEEPALIVE socket option.
Is still actually alive.
|
|
I have a process id in Python. I know I can kill it with os.kill(), but how do I check if it is alive ? Is there a built-in function or do I have to go to the shell?
Started by Uri on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Http://docs.python.org/library.
Is still alive otherwise it returns process returncode.
|
Ask your Facebook Friends
|
Is there a way to tell IIS/ASP.NET not to allow Keep-Alive for certain requests? Or even for an entire website, if that's really the only way to go about it?
Started by Benjamin Pollack on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You can disable HTTP Keep Alive by following below link, it is for enabling you would have to do.
|
|
Hi
i want to use keep-alive feature of apache how can i use that with my host (.htaccess) and what should be the best values for the parameters like KeepAliveTimeout
Thanks
Started by vipinsahu on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Can't control keep-alive behavior in .htaccess.
|
|
Aka THM/Tsu
People still post here :O
It's really odd coming back here... and seeing others have pretty much done the same thing. How have you all been doing?
I still missed a lot of the old gang. Like kosheh, that lovable son of a bitch. I still remember...
Started by Icarus on
, 11 posts
by 6 people.
Answer Snippets (Read the full thread at customwars):
|
|
A few years ago I used the excellent Swing development tool buoybuilder. Today I noticed that their former URL does not work. Is this project still alive?
Answer Snippets (Read the full thread at stackoverflow):
94-West who wrote BuoyBuilder are still around....
It doesn't look good, sorry.
I'm not seeing any actual project URL on Google, and all the download links I can find (for what appears to be the latest version, 1.1.1) were posted November 2007 or earlier .
|
|
Hi,
I am implementing jsr 186 portlets, with some servlets to the mix to implement some ajax. The problem is if I only make AJAX calls for some time, I lose the session. Strangely, keeping alive the servlet session does not prevent the portlet session...
Started by Miguel Ping on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Hey....
The portlet url was generated beforehadn so it was accessible in javascript .
I implemented it using a javascript timer that kept polling a portlet url .
I would also be interested in a possible solution? i cant believe there is no cure for this. .
|
|
I've just read up on Thread.IsBackground and if I understand it correctly, when it's set to false the Thread is a foreground thread which means it should stay alive until it has finished working even though the app have been exited out. Now I tested this...
Started by John on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
It doesn't perform any magic to keep the thread alive until some sort background threads are stopped and do....
With a console app the process from exiting.
If the "main" thread exits, you still have a thread going to keep the process alive.
|
|
Hi
Does anyone know a standard way to keep alive the http session as long user has open the flex app in the browser?
I played around with the polling mechanism of blazeds. But it had no affect on the http session.
thanks & regards
Cyrill
Started by Cyrill Zadra on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Why do you need the http session to stay alive?
We have authentication enabled in our flex-weborb.
|