- May 20, 2009
- May 19, 2009
- May 18, 2009
- May 17, 2009
-
-
Ryan authored
-
- May 16, 2009
-
-
Ryan authored
-
Ryan authored
-
Ryan authored
Instead we're going to just get a single callback for the URI. This can be parsed additionally in javascript using parseuri: http://blog.stevenlevithan.com/archives/parseuri I haven't added that yet, but it will come soon.
-
Ryan authored
Encoding UTF-16 (the native string representation) to UTF-8 is rather expensive, however just chopping off the second bit to convert UTF-16 to ASCII is rather fast. I've noticed major performance issues with String::WriteUtf8 and thus I'm going to explicitly separate in the API. Still need interfaces to this for the web server.
-
Ryan authored
-
Ryan authored
-
- May 15, 2009
-
-
Ryan authored
This is sloppy: after each ObjectWrap allocation the user needs to call ObjectWrap::InformV8ofAllocation(). In addition each class deriving from ObjectWrap needs to implement the virtual method size() which should return the size of the derived class. If I was better at C++ I could possibly make this less ugly. For now this is how it is. Memory usage looks much better after this commit.
-
Ryan authored
-
Ryan authored
-
Ryan authored
This is to avoid a segfault when you don't use the API correctly.
-
Ryan authored
Instead servers are passed a function which gets called on connection (like in the original design) which has one argument, the connecting socket. The user sets up callbacks on that. It's pretty much how I had it originally. Encoding is now set via v8 getter/setter and can be changed dynamically. The timeout for all sockets is fixed at 60 seconds for now. Need to fix that.
-
Ryan authored
-
Ryan authored
-
- May 14, 2009