Subversion Repositories Tewi

Rev

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

Rev 43 Rev 46
Line 1... Line 1...
1
/* $Id: http.c 43 2024-09-18 09:19:03Z nishi $ */
1
/* $Id: http.c 46 2024-09-18 09:58:45Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 64... Line 64...
64
#ifndef NO_SSL
64
#ifndef NO_SSL
65
		if(ssl == NULL || !SSL_has_pending(ssl)) {
65
		if(ssl == NULL || !SSL_has_pending(ssl)) {
66
#endif
66
#endif
67
			int n = select(FD_SETSIZE, &fds, NULL, NULL, &tv);
67
			int n = select(FD_SETSIZE, &fds, NULL, NULL, &tv);
68
			if(n <= 0) {
68
			if(n <= 0) {
-
 
69
				cm_log("HTTP", "Timeout, disconncting");
69
				free(header);
70
				free(header);
70
				tw_free_request(req);
71
				tw_free_request(req);
71
				return -1;
72
				return -1;
72
			}
73
			}
73
#ifndef NO_SSL
74
#ifndef NO_SSL