0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
Commit Graph

243 Commits

Author SHA1 Message Date
Ryan
887f056923 Do not assume transfer-encoding: chunked as default on requests.
If users do not send transfer-encoding or content-length headers, then I
will not add any additional. Content-Length: 0 is assumed if there aren't
other headers and chunked encoding is rare.
2009-06-06 23:57:15 +02:00
Ryan
5558bc4e6e Add connection.remoteAddress for server-side node.tcp.Connections. 2009-06-05 20:15:54 +02:00
Ryan
5170823572 Documentation for connection.connect() 2009-06-05 15:18:05 +02:00
Ryan
6e4e228665 Don't use AI_PASSIVE in getaddrinfo() for client connections. 2009-06-05 15:10:46 +02:00
Ryan
1614f51047 Merge branch 'ujh/master'
Conflicts:

	website/index.html
2009-06-05 14:32:53 +02:00
Urban Hafner
d04ef89758 Mention node_chat 2009-06-05 13:28:56 +03:00
Ryan
bee7ef90bd Add link to chat room demo 2009-06-05 12:27:09 +02:00
Urban Hafner
565becb8ad XHTML compliant HTML and a few spelling fixes 2009-06-05 13:23:51 +03:00
Urban Hafner
9e6603476a Mentioning the google group in the README and documentation. 2009-06-05 11:38:41 +03:00
Ryan
c226f81768 Fix HTTP client output bug. 2009-06-04 15:44:38 +02:00
Ryan
c457b829e2 If http.Client has an error, do not continue to reconnect. 2009-06-04 12:39:19 +02:00
Ryan
8cfdd326a8 Add "had_error" argument to the "onDisconnect" in node.tcp.Client
This is a boolean value which allows one to detect if the socket was closed
due to errors. There is not yet a way to look up the actual error code.
2009-06-04 12:33:19 +02:00
Ryan
b933743d83 status_code -> statusCode in test_client.js 2009-06-04 10:49:01 +02:00
Ryan
d0988da515 Website: correct typos. 2009-06-03 11:43:54 +02:00
Ryan
8bf2a2fa55 Rename req.uri.queryKey to req.uri.params. More familar to rails users. 2009-06-01 20:59:33 +02:00
Ryan
ed283dc280 Fix bug: catting non-existent files 2009-06-01 12:56:28 +02:00
Ryan
4fbe15f065 bump version to v0.0.2 2009-05-31 14:25:07 +02:00
Ryan
739276b3a5 work on About on webpage 2009-05-31 14:24:10 +02:00
Ryan
d13d06467a Add audience to website 2009-05-30 19:36:41 +02:00
Ryan
7bd2282a9f Fix up description on web page 2009-05-30 18:14:26 +02:00
Ryan
272c4167da changes to website 2009-05-29 18:59:18 +02:00
Ryan
aceb1987ed Remove complex string appending in http's send() method.
That seems to churn the garbage collector like mad.
Before: http://s3.amazonaws.com/four.livejournal/20090529/timeseries6.png
After:  http://s3.amazonaws.com/four.livejournal/20090529/timeseries11.png
Got a nice tight side profile for this benchmark now:
http://s3.amazonaws.com/four.livejournal/20090529/hist10.png
2009-05-29 17:05:03 +02:00
Ryan
247c9d2210 Remove unnecessary AdjustAmountOfExternalAllocatedMemory from node.http. 2009-05-29 13:58:52 +02:00
Ryan
34a6f10695 Fix ::exit() compile issues.
Thanks Matthias!
2009-05-28 14:47:16 +02:00
Ryan
3c701cb56d add long description to website 2009-05-28 13:45:18 +02:00
Ryan
d958befde1 Remove old .gitmodules file 2009-05-28 12:30:22 +02:00
Ryan
d460bdd31f Clean up that download link. 2009-05-27 18:41:04 +02:00
Ryan
80eed19612 Update website with first release link. 2009-05-27 18:38:22 +02:00
Ryan
a3627c06f8 Change to build on FreeBSD
The v8/SConstruct change has been give to the v8 people.
http://codereview.chromium.org/113897
2009-05-27 16:29:55 +02:00
Ryan
1d8c4659d1 Just twiddling with the webpage 2009-05-27 15:42:16 +02:00
Ryan
b3338273b4 Reorganize the website into two pages. 2009-05-27 14:53:36 +02:00
Ryan
765815ba1f add license, readme 2009-05-27 01:59:31 +02:00
Ryan
562db19d32 Add includes for freebsd compatibility 2009-05-27 01:35:54 +02:00
Ryan
11b2e5dcc4 Remove file access flags that arn't present in macintosh. 2009-05-26 20:35:42 +02:00
Ryan
b260a9108b Add errno constants. Move all constants to node.constants namespace. 2009-05-26 19:48:49 +02:00
Ryan
3bdd042a6e Rename fatal_exception to FatalException 2009-05-26 18:18:17 +02:00
Ryan
c4e53c7ceb Have connection.setEncoding use node::ParseEncoding 2009-05-26 18:14:32 +02:00
Ryan
24ebd0360a Clean up doc intro and syntax highlighting. 2009-05-26 18:06:53 +02:00
Ryan
e8f177aa2d Clean up outgoing encoding API. Generally: send(chunk, encoding). 2009-05-26 17:48:59 +02:00
Ryan
cf0eebf685 Add preliminary tcp documentation 2009-05-26 15:20:25 +02:00
Ryan
c326614c8d More docs. Add rmdir and unlink. 2009-05-26 12:11:31 +02:00
Ryan
a9f29cd18d File I/O documentation. Remove necessity of class="sh_javascript". 2009-05-26 11:39:40 +02:00
Ryan
2fe090b7f6 Add node.fs prefix to some constants. oops. 2009-05-26 03:37:18 +02:00
Ryan
d1b0ce6d37 Large refactor of file code.
All the c++ code is now reduced to simple wrappers. The node.fs.File object
is defined entirely in javascript now. As is the actionQueue methods.

This makes the boundaries much cleaner. There is still some thought that
needs to go into how exactly the API should behave but this simplification
is a first step.
2009-05-26 03:30:51 +02:00
Ryan
f3af6c6f53 More docs 2009-05-25 19:52:05 +02:00
Ryan
3eb4819db1 Add docs. Rename exit() to node.exit(). 2009-05-25 13:38:36 +02:00
Ryan
5c2389fada Remove error codes from file on_completion callbacks. Use file.onError.
The error codes still remain for the two general file system operations:
rename and stat.

Additionally I've removed the actionQueue for file system operations. They
are sent directly into the thread pool.
2009-05-25 13:17:35 +02:00
Ryan
58c13e5192 Namespace File stuff in node.fs 2009-05-21 12:49:41 +02:00
Ryan
6244f77822 Beginnings of file i/o docs. Finish up timers. 2009-05-21 12:33:57 +02:00
Ryan
e787e11a1b Begin documentation for file i/o 2009-05-20 16:58:08 +02:00