comparison src/event/ngx_event.c @ 18:6f8b0dc0f8dd NGINX_0_1_9

nginx 0.1.9 *) Bugfix: the proxied request was sent without arguments if the request contains "//", "/./", "/../" or "%XX". *) Bugfix: the large compressed responses may be transferred not completely. *) Bugfix: the files bigger than 2G was not transferred on Linux that does not support sendfile64(). *) Bugfix: while the build configuration on Linux the --with-poll_module parameter was required; bug appeared in 0.1.8.
author Igor Sysoev <http://sysoev.ru>
date Thu, 25 Nov 2004 00:00:00 +0300
parents 74b1868dd3cd
children 8b6db3bda591
comparison
equal deleted inserted replaced
17:9acb68bb0698 18:6f8b0dc0f8dd
369 369
370 rev->available = 0; 370 rev->available = 0;
371 371
372 rev->accept = 1; 372 rev->accept = 1;
373 373
374 #if (HAVE_DEFERRED_ACCEPT) 374 #if (NGX_HAVE_DEFERRED_ACCEPT)
375 rev->deferred_accept = s[i].deferred_accept; 375 rev->deferred_accept = s[i].deferred_accept;
376 #endif 376 #endif
377 377
378 if (!(ngx_event_flags & NGX_USE_IOCP_EVENT)) { 378 if (!(ngx_event_flags & NGX_USE_IOCP_EVENT)) {
379 if (s[i].remain) { 379 if (s[i].remain) {
717 connections = NGX_CONF_UNSET_UINT; 717 connections = NGX_CONF_UNSET_UINT;
718 module = NULL; 718 module = NULL;
719 rtsig = 0; 719 rtsig = 0;
720 fd = 0; 720 fd = 0;
721 721
722 #if (HAVE_EPOLL) && !(TEST_BUILD_EPOLL) 722 #if (NGX_HAVE_EPOLL) && !(NGX_TEST_BUILD_EPOLL)
723 723
724 fd = epoll_create(100); 724 fd = epoll_create(100);
725 725
726 if (fd != -1) { 726 if (fd != -1) {
727 close(fd); 727 close(fd);
733 module = &ngx_epoll_module; 733 module = &ngx_epoll_module;
734 } 734 }
735 735
736 #endif 736 #endif
737 737
738 #if (HAVE_RTSIG) 738 #if (NGX_HAVE_RTSIG)
739 739
740 if (module == NULL) { 740 if (module == NULL) {
741 connections = DEFAULT_CONNECTIONS; 741 connections = DEFAULT_CONNECTIONS;
742 module = &ngx_rtsig_module; 742 module = &ngx_rtsig_module;
743 rtsig = 1; 743 rtsig = 1;
744 } 744 }
745 745
746 #endif 746 #endif
747 747
748 #if (HAVE_DEVPOLL) 748 #if (NGX_HAVE_DEVPOLL)
749 749
750 connections = DEFAULT_CONNECTIONS; 750 connections = DEFAULT_CONNECTIONS;
751 module = &ngx_devpoll_module; 751 module = &ngx_devpoll_module;
752 752
753 #endif 753 #endif
754 754
755 #if (HAVE_KQUEUE) 755 #if (NGX_HAVE_KQUEUE)
756 756
757 connections = DEFAULT_CONNECTIONS; 757 connections = DEFAULT_CONNECTIONS;
758 module = &ngx_kqueue_module; 758 module = &ngx_kqueue_module;
759 759
760 #endif 760 #endif
761 761
762 #if (HAVE_SELECT) 762 #if (NGX_HAVE_SELECT)
763 763
764 if (module == NULL) { 764 if (module == NULL) {
765 765
766 #if (NGX_WIN32) 766 #if (NGX_WIN32)
767 connections = DEFAULT_CONNECTIONS; 767 connections = DEFAULT_CONNECTIONS;