Skip to content

Commit

Permalink
Removes a deprecated cherokee_handler_support_t type value.
Browse files Browse the repository at this point in the history
git-svn-id: svn://cherokee-project.com/cherokee/trunk@6643 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information
alobbs committed May 19, 2011
1 parent e3916b4 commit c00d827
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 0 additions & 6 deletions cherokee/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -889,12 +889,6 @@ cherokee_connection_build_header (cherokee_connection_t *conn)
goto out;
}

/* If the handler requires not to add headers, exit.
*/
else if (HANDLER_SUPPORTS (conn->handler, hsupport_skip_headers)) {
return ret_ok;
}

/* Try to get the headers from the handler
*/
ret = cherokee_handler_add_headers (conn->handler, &conn->header_buffer);
Expand Down
3 changes: 1 addition & 2 deletions cherokee/handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ typedef enum {
hsupport_maybe_length = 1 << 1, /* It might include content-length */
hsupport_range = 1 << 2, /* Can handle "Range: bytes=" requests */
hsupport_error = 1 << 3, /* It is an error handler */
hsupport_full_headers = 1 << 4, /* Handler adds the full header stack */
hsupport_skip_headers = 1 << 5 /* The server shouldn't add any headers */
hsupport_full_headers = 1 << 4 /* Handler adds the full header stack */
} cherokee_handler_support_t;


Expand Down

0 comments on commit c00d827

Please sign in to comment.