Re: is libwww thread safe?

Henrik Frystyk Nielsen (on Mon, Mar 23/1998) writes:
  :At 11:33 3/23/98 -0500, Krishna Vedati wrote:
  :
  :>I am currently working with pthreads and semi-emulation of Pthreads on NT
  :>(conditional variable and cond_signals) and w3lib. I am willing to post
  :thread
  :>patches to w3-lib. My only concern is I am not very well versed with all
  :parts
  :>of w3lib. Henrik, if you can point out exactly which modules I need to
  :>concentrate on, I can take a stab at it. Also I need to understand how HTHost
  :>event loop works. I am very confused about how Keep-alive connections
  :>work.
  :
  :Sounds great! I will try and come up with some notes by tonight. This is
  :really encouraging!

Excellent, as soon as I recieve your notes I will start on my thread hacking.!
I think w3lib is great but from my personal experience there is a lot of
learning curve. Most of the time I end up browsing the source to find out the
behavior . Also it will be very nice if w3lib can provide more hooks (for
notification, or for extensions) Like I've noticed there is no support for
cookies etc. (although I know cookies are not part of http spec but they are so
ubiquitous). Also things like how many times the library attempted to connect
before a connection took place etc. 
  :
  :> Also with 5.1j POST behavior is changed. Are there any plans to update
  :>the docs and may be develop more(simple) example apps and possibly a
  :tutorial. I am
  :>willing to help if a bunch of us can get together and start on a tutorial.
  :You
  :>can mail me all the small examples/apps you have developed with w3lib. I can
  :>compile a beginner's guide perhaps!


  :
  :That would be very useful indeed - maybe some explanations from people
  :using it on how to and how not to. I would be happy to provide any
  :resources like web site place etc.

Henrik,

did you hack any simple apps while developing the library, perhaps things to do 
with testing POST etc. If they are burried somewhere posting them can be very
helpful, we can update them to the latest version.

Received on Monday, 23 March 1998 12:07:07 UTC