Nathan Rajlich
9f23fe1141
http: use defaultAgent.protocol in protocol check
Default to the `defaultAgent.protocol` when comparing the
user-specified `options.protocol` string. This is so that
`http.Agent` instances do not need to specify their own
`protocol` field, since we have the relevant information
already from the `defaultAgent`.
Note that the test case could be separately cherry-picked
to the `v0.10` branch, since it already passes correctly.
Fixes #7349 .
Fixes the regression described in: http://git.io/2ds-WQ
11 years ago
Nathan Rajlich
d307bebec4
test: add failing http `agent: null` test
See #7012 .
11 years ago
Adam Malcontenti-Wilson
4099d1eeba
http: make http.get() accept a URL
http.get() now accepts either a URL (as a string) or an options object.
13 years ago
Ryan Dahl
850609ea2d
Remove separation of libuv tests
13 years ago
Colton Baker
87286cc737
Fixed a lot of jslint errors.
Fixes #1831
13 years ago
Ryan Dahl
4e1d6fca8e
Mark tests which are broken in libuv
14 years ago
koichik
62aaf56d1b
Fix http.ClientRequest crashes if end() was called twice
Fixes #1417 .
Fixes #1223 .
14 years ago
koichik
8caf7fdb05
Add tests for #1085 and #1304
Fixes #1327 .
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Oleg Efimov
0665f0271e
GJSLint all simple tests exclude http-*, url, path
14 years ago
Oleg Efimov
0ce9cbab29
GJSLint continue
14 years ago
Ryan Dahl
a0159b4b29
Fix global leaks
14 years ago
Oleg Efimov
c0d69a4883
GJSLint part of tests
14 years ago
Ryan Dahl
17f3ffa633
Call Tick() after coming out of select()
Previously we would only call it before going into select(). This is needed
to fix test/simple/test-next-tick-ordering2.js.
15 years ago
Felix Geisendörfer
cf4b5fc52a
Test case showing a bug in nextTick ordering
nextTick should fire before setTimeout in this test, but it doesn't.
15 years ago