Subversion Repositories Tewi

Rev

Rev 118 | Rev 187 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 118 Rev 147
Line 1... Line 1...
1
/* $Id: http.c 118 2024-09-21 09:03:27Z nishi $ */
1
/* $Id: http.c 147 2024-09-24 17:19:05Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 92... Line 92...
92
#else
92
#else
93
		int n = select(FD_SETSIZE, &fds, NULL, NULL, &tv);
93
		int n = select(FD_SETSIZE, &fds, NULL, NULL, &tv);
94
#endif
94
#endif
95
#endif
95
#endif
96
			if(n <= 0) {
96
			if(n <= 0) {
97
				cm_log("HTTP", "Timeout, disconncting");
97
				cm_log("HTTP", "Timeout, disconnecting");
98
				free(header);
98
				free(header);
99
				tw_free_request(req);
99
				tw_free_request(req);
100
				return -1;
100
				return -1;
101
			}
101
			}
102
#ifndef NO_SSL
102
#ifndef NO_SSL