diff options
Diffstat (limited to 'src/node_http_parser.cc')
-rw-r--r-- | src/node_http_parser.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/node_http_parser.cc b/src/node_http_parser.cc index 7d1ca422d98..6cb78455ba1 100644 --- a/src/node_http_parser.cc +++ b/src/node_http_parser.cc @@ -48,10 +48,7 @@ namespace node { using namespace v8; static Persistent<String> on_message_begin_sym; -static Persistent<String> on_path_sym; -static Persistent<String> on_query_string_sym; static Persistent<String> on_url_sym; -static Persistent<String> on_fragment_sym; static Persistent<String> on_header_field_sym; static Persistent<String> on_header_value_sym; static Persistent<String> on_headers_complete_sym; @@ -184,10 +181,7 @@ class Parser : public ObjectWrap { DEFINE_HTTP_CB(on_message_begin) DEFINE_HTTP_CB(on_message_complete) - DEFINE_HTTP_DATA_CB(on_path) DEFINE_HTTP_DATA_CB(on_url) - DEFINE_HTTP_DATA_CB(on_fragment) - DEFINE_HTTP_DATA_CB(on_query_string) DEFINE_HTTP_DATA_CB(on_header_field) DEFINE_HTTP_DATA_CB(on_header_value) DEFINE_HTTP_DATA_CB(on_body) @@ -387,10 +381,7 @@ void InitHttpParser(Handle<Object> target) { target->Set(String::NewSymbol("HTTPParser"), t->GetFunction()); on_message_begin_sym = NODE_PSYMBOL("onMessageBegin"); - on_path_sym = NODE_PSYMBOL("onPath"); - on_query_string_sym = NODE_PSYMBOL("onQueryString"); on_url_sym = NODE_PSYMBOL("onURL"); - on_fragment_sym = NODE_PSYMBOL("onFragment"); on_header_field_sym = NODE_PSYMBOL("onHeaderField"); on_header_value_sym = NODE_PSYMBOL("onHeaderValue"); on_headers_complete_sym = NODE_PSYMBOL("onHeadersComplete"); @@ -431,10 +422,7 @@ void InitHttpParser(Handle<Object> target) { upgrade_sym = NODE_PSYMBOL("upgrade"); settings.on_message_begin = Parser::on_message_begin; - settings.on_path = Parser::on_path; - settings.on_query_string = Parser::on_query_string; settings.on_url = Parser::on_url; - settings.on_fragment = Parser::on_fragment; settings.on_header_field = Parser::on_header_field; settings.on_header_value = Parser::on_header_value; settings.on_headers_complete = Parser::on_headers_complete; |