Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Rings:2-TestDVD
htdig
htdig-SSLConnection.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File htdig-SSLConnection.patch of Package htdig
Index: htnet/SSLConnection.cc =================================================================== --- htnet/SSLConnection.cc.orig +++ htnet/SSLConnection.cc @@ -131,18 +131,21 @@ { errno = 0; - if (timeout_value > 0) { - FD_SET_T fds; - FD_ZERO(&fds); - FD_SET(sock, &fds); - - timeval tv; - tv.tv_sec = timeout_value; - tv.tv_usec = 0; - - int selected = select(sock+1, &fds, 0, 0, &tv); - if (selected <= 0) - need_io_stop++; + if (!SSL_pending(ssl)) { + if (timeout_value > 0) { + FD_SET_T fds; + FD_ZERO(&fds); + FD_SET(sock, &fds); + + timeval tv; + tv.tv_sec = timeout_value; + tv.tv_usec = 0; + + int selected = select(sock+1, &fds, 0, 0, &tv); + if (selected <= 0) + need_io_stop++; + } + } if (!need_io_stop)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor