Home
last modified time | relevance | path

Searched full:http_parser (Results 1 – 25 of 67) sorted by relevance

123

/third_party/nghttp2/src/
Dhttp-parser.patch5 Use http_parser for tunneling connection transparently
7 diff --git a/examples/http-parser/http_parser.c b/examples/http-parser/http_parser.c
9 --- a/examples/http-parser/http_parser.c
10 +++ b/examples/http-parser/http_parser.c
11 @@ -1627,9 +1627,14 @@ size_t http_parser_execute (http_parser *parser,
18 + /* We want to use http_parser for tunneling connection
/third_party/boost/libs/beast/test/bench/parser/
Dnodejs_parser.hpp13 #include "nodejs-parser/http_parser.h"
146 http_parser state_;
227 static int cb_message_start(http_parser*);
228 static int cb_url(http_parser*, char const*, std::size_t);
229 static int cb_status(http_parser*, char const*, std::size_t);
230 static int cb_header_field(http_parser*, char const*, std::size_t);
231 static int cb_header_value(http_parser*, char const*, std::size_t);
232 static int cb_headers_complete(http_parser*);
233 static int cb_body(http_parser*, char const*, std::size_t);
234 static int cb_message_complete(http_parser*);
[all …]
Dnodejs_parser.cpp23 #include "nodejs-parser/http_parser.c"
/third_party/nghttp2/third-party/llhttp/
DREADME.md3 Port of [http_parser][0] to [llparse][1].
7 Let's face it, [http_parser][0] is practically unmaintainable. Even
20 Over time, different approaches for improving [http_parser][0]'s code base
24 This project is a port of [http_parser][0] to TypeScript. [llparse][1] is used
30 So far llhttp outperforms http_parser:
35 | **http_parser** | 8192.00 mb | 694.66 mb/s | 1406180.33 req/sec | 11.79 s |
43 The whole [http_parser][0] is implemented in approximately 2500 lines of C, and
48 most of http_parser's code is hand-optimized and unrolled. Instead describing
50 implement the new features in [http_parser][0] cautiously, considering
/third_party/node/deps/llhttp/
DREADME.md3 Port of [http_parser][0] to [llparse][1].
7 Let's face it, [http_parser][0] is practically unmaintainable. Even
20 Over time, different approaches for improving [http_parser][0]'s code base
24 This project is a port of [http_parser][0] to TypeScript. [llparse][1] is used
30 So far llhttp outperforms http_parser:
35 | **http_parser** | 8192.00 mb | 694.66 mb/s | 1406180.33 req/sec | 11.79 s |
43 The whole [http_parser][0] is implemented in approximately 2500 lines of C, and
48 most of http_parser's code is hand-optimized and unrolled. Instead describing
50 implement the new features in [http_parser][0] cautiously, considering
/third_party/boost/libs/beast/test/bench/parser/nodejs-parser/
Dhttp_parser.h67 typedef struct http_parser http_parser; typedef
89 typedef int (*http_data_cb) (http_parser*, const char *at, size_t length);
90 typedef int (*http_cb) (http_parser*);
147 /* Flag values for http_parser.flags field */
218 /* Get an http_errno value from an http_parser */
222 struct http_parser { struct
226 unsigned int state : 7; /* enum state from http_parser.c */ argument
227 unsigned int header_state : 7; /* enum header_state from http_parser.c */ argument
308 * printf("http_parser v%u.%u.%u\n", major, minor, patch);
312 void http_parser_init(http_parser *parser, enum http_parser_type type);
[all …]
DREADME.md36 One `http_parser` object is used per TCP connection. Initialize the struct
45 http_parser *parser = malloc(sizeof(http_parser));
77 consume input (for the body) until EOF. To tell http_parser about EOF, give
84 temporally stored in `http_parser` and gets reset on each new message. If
131 * notification `typedef int (*http_cb) (http_parser*);`
133 * data `typedef int (*http_data_cb) (http_parser*, const char *at, size_t length);`
141 the `http_parser` object's `data` field can be used.
159 int my_url_callback(http_parser* parser, const char *at, size_t length) {
181 http_parser *parser = malloc(sizeof(http_parser));
DLICENSE-MIT1 http_parser.c is based on src/http/ngx_http_parse.c from NGINX copyright
Dhttp_parser.c24 #include "http_parser.h"
473 int http_message_needs_eof(const http_parser *parser);
634 size_t http_parser_execute (http_parser *parser, in http_parser_execute()
2095 http_message_needs_eof (const http_parser *parser) in http_message_needs_eof()
2118 http_should_keep_alive (const http_parser *parser) in http_should_keep_alive()
2144 http_parser_init (http_parser *parser, enum http_parser_type t) in http_parser_init()
2445 http_parser_pause(http_parser *parser, int paused) { in http_parser_pause()
2459 http_body_is_final(const struct http_parser *parser) { in http_body_is_final()
/third_party/node/test/parallel/
Dtest-trace-events-metadata.js39 trace.args.process.versions.http_parser ===
40 process.versions.http_parser &&
Dtest-http-parser-lazy-loaded.js18 const binding = internalBinding('http_parser');
Dtest-http-parser-timeout-reset.js5 const { HTTPParser } = process.binding('http_parser');
Dtest-process-binding-internalbinding-allowlist.js19 assert(process.binding('http_parser'));
/third_party/flutter/engine/flutter/frontend_server/
Dpubspec.yaml35 http_parser: any
/third_party/flutter/flutter/dev/tools/gen_keycodes/
Dpubspec.yaml17http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-u…
/third_party/grpc/test/core/end2end/fixtures/
Dhttp_proxy_fixture.cc115 grpc_http_parser http_parser; member
141 grpc_http_parser_destroy(&conn->http_parser); in proxy_connection_unref()
472 &conn->http_parser, conn->client_read_buffer.slices[i], nullptr); in on_read_request_done_locked()
483 if (conn->http_parser.state != GRPC_HTTP_BODY) { in on_read_request_done_locked()
577 grpc_http_parser_init(&conn->http_parser, GRPC_HTTP_REQUEST, in on_accept()
/third_party/node/benchmark/http/
Dbench-parser.js13 const { HTTPParser } = common.binding('http_parser');
/third_party/flutter/flutter/dev/snippets/
Dpubspec.yaml49http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-u…
78http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-u…
/third_party/ejdb/src/bindings/ejdb2_dart/
D.packages17 http_parser:file:///home/adam/.pub-cache/hosted/pub.dartlang.org/http_parser-3.1.4/lib/
/third_party/flutter/flutter/dev/tools/
Dpubspec.yaml23http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-u…
/third_party/icu/docs/
DGemfile.lock24 http_parser.rb (~> 0.6.0)
88 http_parser.rb (0.6.0)
/third_party/flutter/flutter/examples/stocks/
Dpubspec.yaml29http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-u…
/third_party/flutter/flutter/dev/bots/
Dpubspec.yaml15 http_parser: 3.1.3
/third_party/flutter/flutter/dev/integration_tests/flavors/
Dpubspec.yaml30http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-u…
/third_party/flutter/flutter/dev/integration_tests/channels/
Dpubspec.yaml30http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-u…

123