The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / src / node_http_parser.cc @ 6f92da2d

History | View | Annotate | Download (15.9 KB)

# Date Author Comment
02cab974 07/31/2013 05:16 PM Ben Noordhuis

src: more lint after cpplint tightening

Commit 847c6d9 adds a 'project headers before system headers' check
to cpplint. Update the files in src/ to make the linter pass again.

8e29ce9f 07/31/2013 02:12 PM Fedor Indutny

src: lint c++ code

110a9cd8 07/06/2013 11:44 AM Ben Noordhuis

lib, src: upgrade after v8 api change

This is a big commit that touches just about every file in the src/
directory. The V8 API has changed in significant ways. The most
important changes are:

  • Binding functions take a const v8::FunctionCallbackInfo<T>& argument...
278183a9 07/03/2013 06:03 PM Trevor Norris

{stream,udp,tls}_wrap: remove unused offset/length

The function arguments offset and length are now no longer used since
all I/O requests now use discretely allocated memory.

f65e14ed 03/19/2013 08:11 PM Trevor Norris

src: pass Isolate to all applicable api

Update the api to pass node_isolate to all supported methods.

Much thanks to Ben Noordhuis and his work in 51f6e6a.

51f6e6a9 02/25/2013 05:45 PM Ben Noordhuis

src, test: downgrade to v8 3.14 api

7788a6bf 01/07/2013 11:39 AM Ben Noordhuis

src: pass node_isolate to Undefined()

109f73b2 01/07/2013 11:39 AM Ben Noordhuis

src: pass node_isolate to True() and False()

6573fc35 01/07/2013 11:39 AM Ben Noordhuis

src: pass node_isolate to Integer::New

412b3cee 01/07/2013 11:39 AM Ben Noordhuis

src: pass node_isolate to String::Empty

109f8e27 10/02/2012 08:50 AM Ben Noordhuis

node_http_parser: fix whitespace errors

7b3fb222 04/18/2012 12:36 PM isaacs

typo in node_http_parser

1a49df5f 03/30/2012 03:24 PM Ben Noordhuis

http: root JS objects in HandleScope with Local<>

17524432 03/30/2012 10:07 AM Ben Noordhuis

Fix Engrish in error messages.

18240193 03/19/2012 10:00 PM Felix Geisendörfer

Expose http parse error codes

Currently http parse errors do not expose the error details available
from http_parser. This patch exposes the error code as `err.code`.

4472f7bb 03/11/2012 09:23 PM Ben Noordhuis

http: use HTTP_METHOD_MAP macro

36761b20 03/09/2012 06:22 PM Nathan Rajlich

process: expose the http_parser version in process.versions

ff4a9d38 03/09/2012 06:14 PM Ben Noordhuis

core: use proper #include directives

de5e3f6a 02/20/2012 10:12 AM Ben Noordhuis

http: support PURGE request method

74a8215a 02/06/2012 09:44 AM Ben Noordhuis

Revert support for isolates.

It was decided that the performance benefits that isolates offer (faster spin-up
times for worker processes, faster inter-worker communication, possibly a lower
memory footprint) are not actual bottlenecks for most people and do not outweigh...

8b28d599 01/09/2012 02:20 PM Ryan Dahl

Merge remote branch 'origin/v0.6'

Conflicts:
Makefile
configure
src/node_version.h

f3da6c6c 01/03/2012 08:43 PM Ryan Dahl

Potential fix for #2438

- Save StringPtr if the header hasn't been completely received yet after one
packet.
- Add one to num_fields and num_values. They were actually one less than the
number of fields and values.
- Remove always_inline makes debugging difficult, and has negligible...

add4cfcf 12/28/2011 07:56 PM Ben Noordhuis

Merge branch 'v0.6'

Conflicts:
src/platform_win32.cc

448c5e07 12/28/2011 05:08 PM Ryan Dahl

Revert "Add HandleScope to http-parser binding"

This commit did not actually fix the production crashes.

This reverts commit 73cf8e82e768af870964d6f3375ab758e774165c.

f7f8af84 12/21/2011 03:17 PM Ryan Dahl

Merge remote branch 'origin/v0.6'

Conflicts:
Makefile
lib/_debugger.js

73cf8e82 12/21/2011 03:01 PM Ryan Dahl

Add HandleScope to http-parser binding

Fixes production crashes. We were not able to reproduce in the test suite.

06d86ebe 12/07/2011 04:31 PM Ryan Dahl

Move node_http_parser.cc global vars into node_vars.h

cdcb1118 11/09/2011 10:34 AM Ben Noordhuis

Remove stray NODE_MODULE() semi-colons.

fc61134b 11/01/2011 05:26 PM Maciej Małecki

doc: fix links

Changes:

  • 'http://github.com' => 'https://github.com'
  • 'https://github.com/ry/node' => 'https://github.com/joyent/node'
  • 'https://github.com/ry/http-parser' =>
    'https://github.com/joyent/http-parser'
  • old issue links
  • wiki link
680765ab 10/25/2011 03:18 PM Ben Noordhuis

http: fix gcc 3.x build, don't use always_inline

84d0b1bc 10/20/2011 10:19 PM Ben Noordhuis

http: improve http parser bindings

Speeds up HTTP benchmarks by 10% on average.

b0f78afe 10/19/2011 06:59 AM Thomas Parslow

http: Added support for HTTP PATCH verb

Fixes #1907.

6ac8c559 08/07/2011 01:39 AM Peter Bright

Make MSVS build.

MSVS settings don't actually need to be guarded by conditions. gyp will do
the right thing.

c3ccbea5 08/06/2011 06:04 AM Ryan Dahl

Upgrade http_parser to 965f91bc76b2d1601e23

55048cdf 03/14/2011 08:37 PM Ryan Dahl

Update copyright headers

c783aefb 02/04/2011 09:07 PM Ryan Dahl

http-parser: Error on EOF errors

0866ecaf 01/20/2011 09:10 PM Ryan Dahl

...

12554380 11/22/2010 12:44 AM Ryan Dahl

Add support for SSDP methods _

57d81729 11/18/2010 06:12 PM Ryan Dahl

query-string unescape moved to js land

5f935f6c 09/09/2010 02:03 PM Ryan Dahl

Fast buffers for http-parser

e65c2706 07/14/2010 01:36 PM Paul Querna

Move http parser to extension model.

d49d53fd 06/30/2010 03:54 AM Ryan Dahl

Expose new HTTP methods

8c853404 06/30/2010 02:59 AM Blake Mizerany

fix whitespace errors

c2e2479c 06/15/2010 11:04 PM Ryan Dahl

Fix Linux build

4ce100fa 06/15/2010 10:28 PM isaacs

A replacement for decodeURIComponent that doesn't throw.

And add a few more tests.

9be6c501 06/06/2010 08:41 PM Ryan Dahl

Upgrade http-parser

35c14f63 05/25/2010 10:25 PM Ryan Dahl

In HTTP parser, proxy return value of onHeadersComplete

2fca40e4 05/25/2010 10:25 PM Ryan Dahl

Upgrade http-parser

cbd2c394 05/20/2010 06:23 PM Ryan Dahl

Throwing in a callback should kill the process

There is a difference between errors which happen to a socket - like
receiving EPIPE - an exceptional situation but ultimately okay and the
situation where code throws in a callback - which is not okay.

Fixes test/simple/test-http-exceptions.js...

ac3a2d89 05/14/2010 07:38 PM Ryan Dahl

Changes to work on Solaris 10

760bba55 04/14/2010 06:52 AM Ryan Dahl

Support Upgrade in HTTP messages

This allows for web servers to be "hijacked" and used as Web Socket servers
(or other). You simply listen for requests as normal, but check if

req.upgrade === true

If so, this will be the last request of the connection. It's your job now to...

54d4efd4 03/22/2010 12:00 PM Ryan Dahl

Upgrade http-parser

Now at version 6f72c780f0a237a775150a9963bcdf5299685cde

7c9919f8 02/02/2010 09:37 PM Ryan Dahl

Remove some unnecessary handlescopes

bf803f47 01/27/2010 06:40 PM Ryan Dahl

Reimplment Buffers

a668d074 01/26/2010 09:37 PM Ryan Dahl

Clean up http_parser binding - add asserts

741e3fa9 01/25/2010 08:55 PM Ryan Dahl

HTTP works somewhat on net2 now

However it's not working very well: Hitting a 'hello world' server with many
requests (ab -t 60 -c 10) will cause it to crash with the following error.

Obtained 3 stack frames.
./node(_Z11print_tracev+0x1c) [0x80d1b3c]...
dda1d681 01/24/2010 05:12 PM Ryan Dahl

Provide buffer in HTTPParser callbacks.

42ee1697 01/24/2010 02:21 PM Ryan Dahl

Implement new http-parser binding using Buffer