Changeset 874
- Timestamp:
- 08/01/07 14:49:53 (1 year ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/cherokee/connection.c (modified) (2 diffs)
- cherokee/trunk/cherokee/handler_file.c (modified) (1 diff)
- cherokee/trunk/cherokee/socket.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r873 r874 1 2007-08-01 A.D.F <adefacc@tin.it> 2 3 * cherokee/connection.c 4 - cherokee_connection_set_cork(), set or unset conn->options 5 cork bit properly; 6 7 * cherokee/handler_file.c 8 - pass true not 1 to "enable" parameter of 9 cherokee_connection_set_cork(), 10 because that formal parameter is a boolean type 11 (only a formal issue, no change in practice). 12 1 13 2007-07-31 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 14 cherokee/trunk/cherokee/connection.c
r857 r874 742 742 on = 1; 743 743 setsockopt(fd, IPPROTO_TCP, TCP_CORK, &on, sizeof on); 744 BIT_SET (conn->options, conn_op_tcp_cork); 744 745 } else { 745 746 setsockopt(fd, IPPROTO_TCP, TCP_CORK, &on, sizeof on); … … 747 748 on = 1; 748 749 setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &on, sizeof on); 749 } 750 751 BIT_SET (conn->options, conn_op_tcp_cork); 750 BIT_UNSET (conn->options, conn_op_tcp_cork); 751 } 752 752 #endif 753 753 cherokee/trunk/cherokee/handler_file.c
r869 r874 522 522 523 523 if (fhdl->using_sendfile) { 524 cherokee_connection_set_cork (conn, 1);524 cherokee_connection_set_cork (conn, true); 525 525 } 526 526 #endif cherokee/trunk/cherokee/socket.c
r846 r874 654 654 } 655 655 /* NOTREACHED */ 656 } 656 } 657 657 658 658 /* Disable Nagle's algorithm for this connection