- From: Oliver Steinau <Oliver.Steinau@STencode.de>
- Date: Fri, 17 Aug 2001 12:27:22 +0200
- To: "Oliver Steinau" <Oliver.Steinau@STencode.de>, <www-lib@w3.org>
Sorry, I found the problem... I forgot to call HTEventList_loop()... :-( /oliver -----Ursprüngliche Nachricht----- Von: Oliver Steinau Gesendet: Freitag, 17. August 2001 12:09 An: www-lib@w3.org Betreff: Q: HT_WOULD_BLOCK (using v. 5.3.2): I use a HTProfile_newNoCacheClient(), and issue a GET request, with no proxy set, thru HTLoadAbsolute (w/ output format set to WWW_SOURCE). When I step through the code, there's a line in HTTP.c (line 1107) that reads "else if (status == HT_WOULD_BLOCK || status == HT_PENDING) return HT_OK; The effect is that status is indeed HT_WOULD_BLOCK, the issued request returns with a YES, but with no response set, and nothing ever happened (btw, I don't understand why it's HT_WOULD_BLOCK; I presume that I need to set a proxy, but that shouldn't result in a EWOULDBLOCK return from select...) Q: What am I supposed to do in this case? How do I know that I got a EWOULDBLOCK condition? I get a YES, and the request doesn't have a response object .... confused... /oliver
Received on Friday, 17 August 2001 06:27:53 UTC