Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cherokee/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -2425,6 +2425,7 @@ cherokee_connection_check_http_method (cherokee_connection_t *conn, cherokee_con
if (config_entry->handler_methods == http_options)
return ret_ok;

LOG_ERROR_S (CHEROKEE_ERROR_CONNECTION_HTTP_METHOD);
/* Set the error
*/
conn->error_code = http_method_not_allowed;
Expand Down
4 changes: 4 additions & 0 deletions cherokee/error_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,10 @@
title = "Could not get virtual server: '%s'",
desc = CODING_BUG)

e('CONNECTION_HTTP_METHOD',
title = "HTTP method not allowed.",
desc = "The connection's method is not allowed by the server.")


# cherokee/ncpus.c
#
Expand Down