Changeset 43 in Main for trunk/Server/http.c
- Timestamp:
- Sep 18, 2024, 6:19:03 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/http.c
r23 r43 2 2 3 3 #define SOURCE 4 5 #include "../config.h" 4 6 5 7 #include "tw_http.h" … … 60 62 tv.tv_sec = 5; 61 63 tv.tv_usec = 0; 64 #ifndef NO_SSL 62 65 if(ssl == NULL || !SSL_has_pending(ssl)) { 66 #endif 63 67 int n = select(FD_SETSIZE, &fds, NULL, NULL, &tv); 64 68 if(n <= 0) { … … 67 71 return -1; 68 72 } 69 } 73 #ifndef NO_SSL 74 } 75 #endif 70 76 int len = tw_read(ssl, sock, buffer, 512); 71 77 if(len <= 0) break;
Note:
See TracChangeset
for help on using the changeset viewer.