fix old references to on_path

make-http-max-header-size-gyp-configurable
Peter Faiman 12 years ago committed by Ben Noordhuis
parent 02f06ff290
commit b4fc777dc6

@ -36,7 +36,7 @@ using `http_parser_init()` and set the callbacks. That might look something
like this for a request parser:
http_parser_settings settings;
settings.on_path = my_path_callback;
settings.on_url = my_url_callback;
settings.on_header_field = my_header_field_callback;
/* ... */

@ -77,7 +77,7 @@ typedef struct http_parser_settings http_parser_settings;
* chunked' headers that indicate the presence of a body.
*
* http_data_cb does not return data chunks. It will be call arbitrarally
* many times for each string. E.G. you might get 10 callbacks for "on_path"
* many times for each string. E.G. you might get 10 callbacks for "on_url"
* each providing just a few characters more data.
*/
typedef int (*http_data_cb) (http_parser*, const char *at, size_t length);

Loading…
Cancel
Save