Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use finish instead of prefinish in _http_server.js #1411

Closed
wants to merge 174 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
e61ee49
Working on v2.0.0
chrisdickinson Apr 17, 2015
6870764
doc: update CONTRIBUTING.md
brendanashworth Apr 18, 2015
7180597
Revert "http: don't bother making a copy of the options"
brendanashworth Apr 18, 2015
6bf85bc
test: add test for 06cfff9 regression
brendanashworth Apr 18, 2015
59a5c98
Merge v1.8.1.
chrisdickinson Apr 21, 2015
2632775
doc: update AUTHORS list
rvagg Apr 20, 2015
b16a328
doc: add spaces to child.kill example
enaqx Apr 22, 2015
22aafa5
doc: add Fishrock123 to the TC
Fishrock123 Apr 23, 2015
a7d7463
tls_wrap: use localhost if options.host is empty
sitegui Apr 21, 2015
7384ca8
module: remove '' from Module.globalPaths
chrisyip Apr 21, 2015
bb254b5
doc: update branch to master
silverwind Apr 23, 2015
3d3083b
buffer: little improve for Buffer.concat method
JacksonTian Apr 16, 2015
1bef717
net: cleanup connect logic
evanlucas Apr 22, 2015
4abe2fa
net: add lookup option to Socket.prototype.connect
evanlucas Apr 22, 2015
f3cc50f
doc: add TC meeting 2015-04-08 minutes
rvagg Apr 22, 2015
5178f93
doc: Add Addon API (NAN) to working group list
julianduque Apr 25, 2015
bf7ac08
util: add Map and Set inspection support
monsanto Apr 20, 2015
3bda6cb
win,node-gyp: enable delay-load hook by default
piscisaureus Apr 15, 2015
5472139
test: adjust Makefile/test-ci, add to vcbuild.bat
rvagg Apr 26, 2015
bfae823
test: fix test-net-dns-custom-lookup test assertion
evanlucas Apr 26, 2015
2a3c8c1
build: remove -J from test-ci
rvagg Apr 28, 2015
e55fdc4
doc: fix util.deprecate example
enaqx Apr 27, 2015
0fa6c4a
string_decoder: don't cache Buffer.isEncoding
mscdex Apr 28, 2015
391cae3
doc: Add Known issues to v1.7.0/1.7.1 CHANGELOG
yosuke-furukawa Apr 20, 2015
1bcdf46
doc: add TC meeting 2015-04-15 minutes
rvagg Apr 22, 2015
b57cc51
os: remove trailing slash from os.tmpdir()
tellnes Feb 6, 2015
36cd5fb
deps: upgrade v8 to 4.2.77.13
bnoordhuis Mar 27, 2015
db4ded5
deps: enable v8 postmortem debugging again
bnoordhuis Mar 27, 2015
01e6632
deps: upgrade v8 to 4.2.77.15
bnoordhuis Apr 11, 2015
01652c7
deps: upgrade v8 to 4.2.77.18
chrisdickinson Apr 25, 2015
509b59e
deps: enable v8 postmortem debugging again
bnoordhuis Mar 27, 2015
f9c681c
fs: validate fd on fs.write
julianduque Apr 28, 2015
f9b226c
test: extend timeouts for ARMv6
rvagg Apr 29, 2015
3c92ca2
src: add ability to get/set effective uid/gid
evanlucas Apr 27, 2015
d5ce47e
lib: deprecate the smalloc module
bnoordhuis Apr 29, 2015
609fa0d
src: fix NODE_DEPRECATED macro
bnoordhuis Apr 29, 2015
ccb199a
src: fix deprecation warnings
bnoordhuis Apr 29, 2015
7306252
src: deprecate smalloc public functions
bnoordhuis Apr 29, 2015
2d241b3
tls: destroy SSL once it is out of use
indutny Apr 26, 2015
e6874dd
crypto: track external memory for SSL structures
indutny Apr 26, 2015
2684c90
tls: zero SSL_CTX freelist for a singleUse socket
indutny Apr 26, 2015
1787416
tls: destroy singleUse context immediately
indutny Apr 27, 2015
7dc8eec
doc: deprecate smalloc module
bnoordhuis Apr 30, 2015
801b47a
gitignore: ignore xcode workspaces and projects
r-52 Apr 29, 2015
a5dcff8
build: Use option groups in configure output
jbergstroem Apr 27, 2015
0450ce7
repl: add mode detection, cli persistent history
chrisdickinson Apr 23, 2015
78f4b03
build: turn on debug-safe optimizations with -Og
bnoordhuis Apr 30, 2015
30b7349
stream_base: dispatch reqs in the stream impl
indutny Apr 29, 2015
550c263
tls: use `SSL_set_cert_cb` for async SNI/OCSP
indutny Apr 18, 2015
b4ad5d7
doc: improve http.request and https.request opts
silverwind Apr 28, 2015
56e4255
deps: upgrade npm to 2.9.0
othiym23 May 1, 2015
935c9d3
deps: make node-gyp work with io.js
cjihrig May 1, 2015
30e83d2
win,node-gyp: optionally allow node.exe/iojs.exe to be renamed
piscisaureus May 1, 2015
79a7a86
Merge branch 'v1.x'
Fishrock123 May 2, 2015
ea5195c
repl: do not save history for non-terminal repl
indutny May 1, 2015
c7782c0
node: improve nextTick performance
mscdex May 1, 2015
57c4cc2
doc: add TC meeting 2015-04-22 minutes
rvagg Apr 29, 2015
3fd7fc4
url: significantly improve the performance of the url module
petkaantonov Mar 23, 2015
02388db
doc: fix some cross-references
gromnitsky May 2, 2015
2e2fce0
repl: fix persistent history and env variable name
silverwind May 2, 2015
2a3a190
doc: add require() lines to child.stdio example
enaqx Apr 22, 2015
b4f5898
net: ensure Write/ShutdownWrap references handle
indutny May 2, 2015
dbdd81a
url: delete href cache on all setter code paths
petkaantonov May 2, 2015
6687721
url: fix treatment of some values as non-empty
petkaantonov May 3, 2015
0f39ef4
Revert "url: fix treatment of some values as non-empty"
rvagg May 3, 2015
0daed24
Revert "url: delete href cache on all setter code paths"
rvagg May 3, 2015
702997c
Revert "url: significantly improve the performance of the url module"
rvagg May 3, 2015
dacc1fa
doc: update AUTHORS list
rvagg May 2, 2015
f7620fb
tls_wrap: Unlink TLSWrap and SecureContext objects
ChALkeR May 1, 2015
279f611
src: fix -Wmissing-field-initializers warning
bnoordhuis May 4, 2015
e67542a
build: disable -Og when building with clang
bnoordhuis May 4, 2015
051d482
repl: fix _debugger by properly proxying repl
chrisdickinson May 4, 2015
ca219b0
repl: fix for a+ fd clearing the file on read
chrisdickinson May 4, 2015
69581b2
build: don't compile debug build with -Og
bnoordhuis May 4, 2015
ac1fb39
doc: add rvagg to the TC
rvagg May 4, 2015
c1b9913
src: bump NODE_MODULE_VERSION due to V8 API
rvagg May 4, 2015
7c89c4c
2015-05-04 io.js v2.0.0 Release
rvagg Apr 29, 2015
3dafdc5
Working on v2.0.1
rvagg May 4, 2015
f696c9e
src: fix deprecated use of Buffer::New()
bnoordhuis May 1, 2015
2ed10f1
src: fix minor inefficiency in Buffer::New() call
bnoordhuis May 1, 2015
84bf609
async-wrap: don't call init callback unnecessarily
trevnorris May 4, 2015
4b2c786
async-wrap: pass PROVIDER as first arg to init
trevnorris May 4, 2015
bd42ba0
async-wrap: set flags using functions
trevnorris May 4, 2015
7dde95a
async-wrap: remove before/after calls in init
trevnorris May 4, 2015
71dc715
doc: fix PR link in CHANGELOG
mscdex May 5, 2015
b712af7
src: fix NODE_DEPRECATED macro with old compilers
bnoordhuis May 5, 2015
6ccbe75
js_stream: fix buffer index in DoWrite
May 6, 2015
8315b22
src: fix pedantic cpplint whitespace warnings
bnoordhuis May 6, 2015
b16d9c2
deps: upgrade v8 to 4.2.77.20
bnoordhuis May 6, 2015
0c8f13d
tools: remove unused GuessWordSize function
thefourtheye May 6, 2015
04cc03b
deps: update libuv to 1.5.0
saghul May 6, 2015
2c72062
doc: fix typo in readme.md
maqnouch May 6, 2015
c43855c
src: export the ParseEncoding function on Windows
ivan May 3, 2015
b97b96d
install: fix NameError
thefourtheye May 5, 2015
9ec3109
doc: add TC meeting 2015-04-29 minutes
rvagg May 2, 2015
6c80e38
2015-05-07 io.js v2.0.1 Release (PROPOSAL)
rvagg May 7, 2015
8bf878d
Working on v2.0.2
rvagg May 7, 2015
931a0d4
src: add type check to v8.setFlagsFromString()
r-52 May 7, 2015
5883a59
cluster: disconnect event not emitted correctly
Olegas Apr 2, 2015
f9dd34d
tools: replace closure-linter with eslint
yosuke-furukawa Apr 28, 2015
19ffb5c
lib: fix eslint styles
yosuke-furukawa Apr 28, 2015
64d3210
win,node-gyp: enable delay-load hook by default
piscisaureus Apr 15, 2015
aed6bce
readline: turn emitKeys into a streaming parser
rlidwka May 3, 2015
18d457b
dgram: call send callback asynchronously
yosuke-furukawa Apr 1, 2015
5755fc0
tls: update default ciphers to use gcm and aes128
May 8, 2015
f07b3b6
tools: set eslint comma-spacing to 'warn'
silverwind May 11, 2015
36cdc7c
build: re-enable V8 snapshots
trevnorris May 8, 2015
7e1c0e7
deps: sync with upstream bagder/c-ares@bba4dc5
bnoordhuis May 11, 2015
0f850f7
deps: provide TXT chunk info in c-ares
indutny Mar 27, 2014
08d0866
src,deps: replace LoadLibrary by LoadLibraryW
zcbenz Dec 31, 2014
8b9a153
events: provide better error message for unhandled error
evanlucas May 7, 2015
0b21ab1
tools: refactor `make test-npm` into test-npm.sh
Fishrock123 May 7, 2015
c58264e
tools: make eslint work on subdirectories
silverwind May 12, 2015
20c9a52
build: move --with-intl to intl optgroup
jbergstroem May 12, 2015
966acb9
tools: remove closure_linter to eslint on windows
May 12, 2015
7693705
os: refine tmpdir() trailing slash stripping
cjihrig May 11, 2015
4e2f999
test: fix infinite loop detection
May 12, 2015
8a0e529
build: use backslashes for paths on windows
jbergstroem May 13, 2015
0a461e5
src: fix preload when used with prior flags
yosuke-furukawa May 13, 2015
3e7a143
2015-05-15 io.js v2.0.2 Release
Fishrock123 May 15, 2015
0a48a8b
Working on v2.0.3
Fishrock123 May 15, 2015
c7fb91d
doc: fix v2.0.2 entry in changelog.md
Fishrock123 May 15, 2015
d4726cd
http,net,tls: return this from setTimeout methods
evanlucas May 14, 2015
e008e8f
tls: fix tls handshake check in ssl error
May 8, 2015
7c52e1c
tls_wrap: fix error cb when fatal TLS Alert recvd
May 8, 2015
6edc900
repl: support non-array `.scope`, document it
yorkie May 12, 2015
fbaef40
doc: fix connectListener description in net docs
May 16, 2015
5f33521
repl: remove unnecessary check for globals
yorkie May 17, 2015
7d90c90
doc: recommend against use of NODE_PATH
smikes May 14, 2015
0662747
doc: update links from iojs/io.js to nodejs/io.js
fhemberger May 16, 2015
c1de6d2
core: implement runtime flag to trace sync io
trevnorris May 14, 2015
0d6d3dd
win,node-gyp: make delay-load hook C89 compliant
cosmosgenius Apr 26, 2015
3c44100
core: set PROVIDER type as Persistent class id
trevnorris May 18, 2015
85d9983
net: persist net.Socket options before connect
evanlucas Feb 18, 2015
f29762f
test: enable linting for tests
silverwind May 19, 2015
8676319
test: fix test-sync-io-option
santigimeno May 19, 2015
5773438
test: fix jslint error
targos May 20, 2015
86dd244
doc: add notes to child_process.fork() and .exec()
Trott May 17, 2015
f0a8bc3
doc: fix spelling in CHANGELOG
fsbatista May 17, 2015
9b35be5
tls: make server not use DHE in less than 1024bits
May 20, 2015
214d020
util: speed up common case of formatting string
ChALkeR May 20, 2015
2b1c01c
build: refactor pkg-config for shared libraries
jbergstroem May 4, 2015
80342f6
tls: use `.destroy(err)` instead of destroy+emit
indutny May 15, 2015
515afc6
doc: path is ignored in url.format
MauriceButler May 21, 2015
2bb2f06
doc: fix typo in CONTRIBUTING.md
Trott May 21, 2015
2a71f02
tls: emit errors happening before handshake finish
skenqbx May 22, 2015
9da168b
buffer: optimize Buffer.byteLength
brendanashworth May 16, 2015
39dde32
net,dgram: return this from ref and unref methods
silverwind May 22, 2015
cb381fe
net: return this from setNoDelay and setKeepAlive
silverwind May 23, 2015
367ffd1
doc: update AUTHORS list
rvagg May 23, 2015
c54d057
deps: upgrade to npm 2.10.1
iarna May 22, 2015
9e7099f
deps: make node-gyp work with io.js
cjihrig Feb 27, 2015
d144e96
win,node-gyp: enable delay-load hook by default
piscisaureus Mar 25, 2015
4d8f4d5
2015-05-24 io.js v2.1.0 Release
rvagg May 23, 2015
3e8c228
Working on v2.1.1
rvagg May 24, 2015
a6a3f8c
doc: fix changelog s/2.0.3/2.1.0
rvagg May 24, 2015
ba76a9d
doc: remove bad semver-major entry from CHANGELOG
rvagg May 24, 2015
1eec5f0
http: simplify code and remove unused properties
mscdex May 2, 2015
a74c2c9
doc: state url decoding behavior
May 19, 2015
5abd4ac
lib: simplify nextTick() usage
mscdex May 4, 2015
280fb01
test: fix deprecation warning in addons test
bnoordhuis May 25, 2015
c2b8b30
test: remove stray copyright notices
bnoordhuis May 25, 2015
6dfca71
test: don't lint autogenerated test/addons/doc-*/
bnoordhuis May 25, 2015
eb1856d
doc: clarify stability of fs.watch and relatives
Trott May 23, 2015
93a44d5
src: fix deferred events not working with -e
bnoordhuis May 25, 2015
98649fd
doc: add documentation for AtExit hook
OpenSourceSteve Sep 28, 2014
b89fd75
test: remove obsolete harmony flags
chrisdickinson May 5, 2015
b65f1ce
deps: update v8 to 4.3.61.21
chrisdickinson May 5, 2015
137f38d
doc: update v8 flags in man page
targos May 14, 2015
eea96ee
Revert "dns: remove AI_V4MAPPED hint flag on FreeBSD"
cjihrig Apr 29, 2015
853a2b3
net: do not set V4MAPPED on FreeBSD
Mar 2, 2015
70716fd
deps: backport 7b24219346 from v8 upstream
rvagg May 27, 2015
159577c
test: add test for missing `close`/`finish` event
not-implemented Apr 13, 2015
854a071
http_server: `prefinish` vs `finish`
indutny Apr 13, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lib/punycode.js
test/addons/doc-*/
test/fixtures
test/**/node_modules
test/parallel/test-fs-non-number-arguments-throw.js
96 changes: 96 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
env:
node: true

# enable ECMAScript features
ecmaFeatures:
blockBindings: true
templateStrings: true
octalLiterals: true
binaryLiterals: true
generators: true
forOf: true

rules:
# Possible Errors
# list: https://github.com/eslint/eslint/tree/master/docs/rules#possible-errors
## check debugger sentence
no-debugger: 2
## check duplicate arguments
no-dupe-args: 2
## check duplicate object keys
no-dupe-keys: 2
## check duplicate switch-case
no-duplicate-case: 2
## disallow assignment of exceptional params
no-ex-assign: 2
## disallow use of reserved words as keys like enum, class
no-reserved-keys: 2
## disallow unreachable code
no-unreachable: 2
## require valid typeof compared string like typeof foo === 'strnig'
valid-typeof: 2

# Best Practices
# list: https://github.com/eslint/eslint/tree/master/docs/rules#best-practices
## require falls through comment on switch-case
no-fallthrough: 2

# Stylistic Issues
# list: https://github.com/eslint/eslint/tree/master/docs/rules#stylistic-issues
## use single quote, we can use double quote when escape chars
quotes:
- 2
- "single"
- "avoid-escape"
## 2 space indentation
indent:
- 2
- 2
## add space after comma
## set to 'warn' because of https://github.com/eslint/eslint/issues/2408
comma-spacing: 1
## put semi-colon
semi: 2
## require spaces operator like var sum = 1 + 1;
space-infix-ops: 2
## require spaces return, throw, case
space-return-throw-case: 2
## no space before function, eg. 'function()'
space-before-function-paren: [2, "never"]
## require space before blocks, eg 'function() {'
space-before-blocks: [2, "always"]
## require parens for Constructor
new-parens: 2
## max 80 length
max-len:
- 2
- 80
- 2

# Strict Mode
# list: https://github.com/eslint/eslint/tree/master/docs/rules#strict-mode
## 'use strict' on top
strict:
- 2
- "global"

# Global scoped method and vars
globals:
DTRACE_HTTP_CLIENT_REQUEST: true
LTTNG_HTTP_CLIENT_REQUEST: true
COUNTER_HTTP_CLIENT_REQUEST: true
DTRACE_HTTP_CLIENT_RESPONSE: true
LTTNG_HTTP_CLIENT_RESPONSE: true
COUNTER_HTTP_CLIENT_RESPONSE: true
DTRACE_HTTP_SERVER_REQUEST: true
LTTNG_HTTP_SERVER_REQUEST: true
COUNTER_HTTP_SERVER_REQUEST: true
DTRACE_HTTP_SERVER_RESPONSE: true
LTTNG_HTTP_SERVER_RESPONSE: true
COUNTER_HTTP_SERVER_RESPONSE: true
DTRACE_NET_STREAM_END: true
LTTNG_NET_STREAM_END: true
COUNTER_NET_SERVER_CONNECTION_CLOSE: true
DTRACE_NET_SERVER_CONNECTION: true
LTTNG_NET_SERVER_CONNECTION: true
COUNTER_NET_SERVER_CONNECTION: true
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@ deps/zlib/zlib.target.mk
tools/faketime
icu_config.gypi
test.tap

# Xcode workspaces and project folders
*.xcodeproj
*.xcworkspace
4 changes: 4 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,12 @@ Ray Morgan <[email protected]>
Ray Solomon <[email protected]>
Raymond Feng <[email protected]> <[email protected]>
Rick Olson <[email protected]>
Roman Klauke <[email protected]> <[email protected]>
Roman Reiss <[email protected]>
Ryan Dahl <[email protected]>
Ryan Emery <[email protected]>
Sakthipriyan Vairamani <[email protected]>
Sam Mikes <[email protected]>
Sam Shull <[email protected]> <[email protected]>
Sam Shull <[email protected]> <[email protected]>
Sambasiva Suda <[email protected]>
Expand Down Expand Up @@ -129,6 +132,7 @@ Yazhong Liu <[email protected]> Yazhong Liu <[email protected]>
Yazhong Liu <[email protected]> Yorkie <[email protected]>
Yazhong Liu <[email protected]> Yorkie <[email protected]>
Yoshihiro KIKUCHI <[email protected]>
Yosuke Furukawa <[email protected]> <[email protected]>
Yuichiro MASUI <[email protected]>
Zachary Scott <[email protected]> <[email protected]>
Zoran Tomicic <[email protected]>
Expand Down
22 changes: 21 additions & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ Rohini Harendra <[email protected]>
Chris Barber <[email protected]>
Michael Kebe <[email protected]>
Nick Muerdter <[email protected]>
Roman Klauke <[email protected].com>
Roman Klauke <romaaan.git@gmail.com>
Xavi Magrinyà <[email protected]>
Euan <[email protected]>
Ed Morley <[email protected]>
Expand Down Expand Up @@ -744,5 +744,25 @@ Giovanny Andres Gongora Granada <[email protected]>
Jeffrey Jagoda <[email protected]>
Kelsey Breseman <[email protected]>
Peter Petrov <[email protected]>
Andrew Crites <[email protected]>
Marat Abdullin <[email protected]>
Dan Varga <[email protected]>
Nick Raienko <[email protected]>
Guilherme Souza <[email protected]>
Chris Yip <[email protected]>
Christopher Monsanto <[email protected]>
Alexander Gromnitsky <[email protected]>
Сковорода Никита Андреевич <[email protected]>
Sakthipriyan Vairamani <[email protected]>
AQNOUCH Mohammed <[email protected]>
Ivan Kozik <[email protected]>
Oleg Elifantiev <[email protected]>
Mike MacCana <[email protected]>
Josh Gummersall <[email protected]>
Sam Mikes <[email protected]>
Frederic Hemberger <[email protected]>
Sharat M R <[email protected]>
Rich Trott <[email protected]>
Felipe Batista <[email protected]>

# Generated by tools/update-authors.sh
Loading