On OpenBSD, curl 7.52.1's regression tests 1060 and 1061 fail.

Closer inspection shows that the problem isn't with the curl
executable being tested, but with the test server.  From
tests/log/http_server.log:

21:56:48.600192 ====> Client connect
21:56:48.600207 accept_connection 3 returned 4
21:56:48.600215 accept_connection 3 returned 0
21:56:48.600381 Read 142 bytes
21:56:48.600400 Process 142 bytes request
21:56:48.600408 Received a CONNECT test.remote.haxx.se.1060:8990 HTTP/1.1 
request
21:56:48.600426 Port number: 8990, test case number: -4
21:56:48.600433 Requested test number 1060 part 0 (from host name)
21:56:48.600652 - request found to be complete
21:56:48.600671 Wrote request (142 bytes) input to log/server.input
21:56:48.600692 Send response test1060 section <connect>
21:56:48.601078 Sent off 200 bytes
21:56:48.601095 Sent off 200 bytes
21:56:48.601113 Sent off 200 bytes
[...]
21:56:48.603210 Sent off 200 bytes
21:56:48.603215 Sent off 200 bytes
21:56:48.603227 Sending response failed. Only (49000 bytes) of (56246 bytes) 
were sent
21:56:48.603234 instructed to close connection after server-reply
21:56:48.603239 ====> Client disconnect 0

That's the swrite() in tests/server/sws.c line 1203 that fails.
Further debugging shows the error to be EAGAIN.  Shouldn't this be
non-fatal and retried?

-- 
Christian "naddy" Weisgerber                          [email protected]
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to