Permalink
Browse files

Forgot to save open files

  • Loading branch information...
1 parent 7734f16 commit c12ddf02548ac6dc6c9f3ed7e1ba5e8cd9675591 @3rd-Eden 3rd-Eden committed Feb 21, 2012
Showing with 13 additions and 2 deletions.
  1. +1 −1 transports/eventsource.js
  2. +12 −1 transports/websocket.js
View
2 transports/eventsource.js
@@ -37,7 +37,7 @@ EventSource.prototype.initialize = function initialize (request, response) {
var headers = {
'Content-Type': 'text/event-stream; charset=UTF-8'
- , 'Connection': 'keep-alive'
+ , 'Connection': 'Keep-Alive'
, 'Cache-Control': 'no-cache, no-store'
, 'Transfer-Encoding': 'chunked'
};
View
13 transports/websocket.js
@@ -17,7 +17,18 @@ function WebSocket () {
WebSocket.prototype.__proto__ = Transport.prototype;
-WebSocket.prototype.initialize = function
+/**
+ * Initialize the transport.
+ *
+ * @param {HTTP.ServerRequest} request
+ * @param {HTTP.ServerResponse} response
+ * @param {Buffer} head
+ * @api public
+ */
+
+WebSocket.prototype.initialize = function initialize (request, response, head) {
+
+};
/**
* Expose the transport.

0 comments on commit c12ddf0

Please sign in to comment.