ChallyCai / doubango

Automatically exported from code.google.com/p/doubango
0 stars 1 forks source link

Failure of HTTP request in 'thttp_dialog_send_request' returns a 0 value #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a tinyHTTP session
2. Make a GET request to a non-existant domain name with 'thttp_action_GET'
3. Wait for connection failure

What is the expected output? What do you see instead?

The connection failure should lead to a non-zero return code. Instead, a 0 
value is returned.

What version of the product are you using? On what operating system?

I am using the SVN revision 413.

Please provide any additional information below.

In function 'thttp_dialog_send_request', the return code should be set when a 
connection failure occurs (following the connectto) or when the socket 
writability test failed.

Original issue reported on code.google.com by laurent.etiemble@gmail.com on 14 Jun 2010 at 12:15

GoogleCodeExporter commented 9 years ago
Have been resolved in revision 417.

Original comment by boss...@yahoo.fr on 15 Jun 2010 at 9:56

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 16 Jun 2010 at 2:22