Changeset 466
- Timestamp:
- 11/16/06 10:32:29 (2 years ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/cherokee/connection.c (modified) (2 diffs)
- cherokee/trunk/cherokee/fdpoll-kqueue.c (modified) (1 diff)
- cherokee/trunk/cherokee/handler_cgi_base.c (modified) (1 diff)
- cherokee/trunk/cherokee/handler_fcgi.c (modified) (1 diff)
- cherokee/trunk/cherokee/macros.h (modified) (1 diff)
- cherokee/trunk/cherokee/socket.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r465 r466 1 2006-11-16 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * cherokee/socket.h: Inclusion of arpa/inet.h has been moved after 4 the inclusion of netinet/in.h. 5 6 * cherokee/fdpoll-kqueue.c: Included sys/types.h. Needed by 7 FreeBSD. 8 9 * cherokee/macros.h: Added stdlib.h inclusion. 10 11 * cherokee/handler_cgi_base.c (parse_header), 12 cherokee/connection.c (get_range): atoll() calls have been 13 replaced by strtoll() calls. It was failing on FreeBSD because of 14 this. 15 1 16 2006-11-15 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 17 cherokee/trunk/cherokee/connection.c
r433 r466 1226 1226 tmp[num_len] = '\0'; 1227 1227 if (num_len != 0) { 1228 conn->range_start = atoll (tmp);1228 conn->range_start = strtoll (tmp, (char **)NULL, 10); 1229 1229 if (conn->range_start < 0) { 1230 1230 return ret_error; … … 1252 1252 } 1253 1253 tmp[num_len] = '\0'; 1254 conn->range_end = atoll (tmp);1254 conn->range_end = strtoll (tmp, (char **)NULL, 10); 1255 1255 if (conn->range_end < 1){ 1256 1256 return ret_error; cherokee/trunk/cherokee/fdpoll-kqueue.c
r122 r466 28 28 29 29 #include <stdio.h> 30 #include <sys/types.h> 30 31 #include <sys/event.h> 31 32 #include <sys/time.h> cherokee/trunk/cherokee/handler_cgi_base.c
r387 r466 664 664 665 665 cherokee_buffer_add (&tmp, begin+16, end - (begin+16)); 666 cgi->content_length = atoll (tmp.buf);666 cgi->content_length = strtoll (tmp.buf, (char **)NULL, 10); 667 667 cherokee_buffer_mrproper (&tmp); 668 668 cherokee/trunk/cherokee/handler_fcgi.c
r446 r466 293 293 cherokee_handler_fcgi_free (cherokee_handler_fcgi_t *hdl) 294 294 { 295 TRACE (ENTRIES, "fcgi handler free: %p\n", hdl); 296 295 297 cherokee_socket_close (&hdl->socket); 296 298 cherokee_socket_mrproper (&hdl->socket); cherokee/trunk/cherokee/macros.h
r348 r466 32 32 33 33 #include <stdio.h> 34 #include <stdlib.h> 34 35 #include <stdarg.h> 35 36 cherokee/trunk/cherokee/socket.h
r458 r466 47 47 #endif 48 48 49 #ifdef HAVE_NETINET_IN_H 50 # include <netinet/in.h> 51 #endif 52 49 53 #ifdef HAVE_ARPA_INET_H 50 54 # include <arpa/inet.h> 51 #endif52 53 #ifdef HAVE_NETINET_IN_H54 # include <netinet/in.h>55 55 #endif 56 56