Changeset 22 in Main for trunk/Server/http.c
- Timestamp:
- Sep 14, 2024, 10:25:38 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/http.c
r20 r22 60 60 tv.tv_sec = 5; 61 61 tv.tv_usec = 0; 62 int n = select(FD_SETSIZE, &fds, NULL, NULL, &tv); 63 if(n == 0) break; 62 if(!SSL_has_pending(ssl)) { 63 int n = select(FD_SETSIZE, &fds, NULL, NULL, &tv); 64 if(n <= 0) { 65 free(header); 66 tw_free_request(req); 67 return -1; 68 } 69 } 64 70 int len = tw_read(ssl, sock, buffer, 512); 65 71 if(len <= 0) break;
Note:
See TracChangeset
for help on using the changeset viewer.