Subversion Repositories Tewi

Rev

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

Rev 88 Rev 104
Line 1... Line 1...
1
/* $Id: http.c 88 2024-09-19 12:59:40Z nishi $ */
1
/* $Id: http.c 104 2024-09-19 15:16:52Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 72... Line 72...
72
		if(ssl == NULL || !SSL_has_pending(ssl)) {
72
		if(ssl == NULL || !SSL_has_pending(ssl)) {
73
#endif
73
#endif
74
#ifdef __HAIKU__
74
#ifdef __HAIKU__
75
			int n = select(32, &fds, NULL, NULL, &tv);
75
			int n = select(32, &fds, NULL, NULL, &tv);
76
#else
76
#else
77
			int n = select(FD_SETSIZE, &fds, NULL, NULL, &tv);
77
		int n = select(FD_SETSIZE, &fds, NULL, NULL, &tv);
78
#endif
78
#endif
79
			if(n <= 0) {
79
			if(n <= 0) {
80
				cm_log("HTTP", "Timeout, disconncting");
80
				cm_log("HTTP", "Timeout, disconncting");
81
				free(header);
81
				free(header);
82
				tw_free_request(req);
82
				tw_free_request(req);