Permalink
Browse files

[api] Expose raw socket on the request stream

  • Loading branch information...
1 parent a7b354e commit c2be4754af606cbd195e23abd74bc3dc6e2e2843 @mmalecki mmalecki committed Jun 16, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/request-stream.js
View
@@ -35,6 +35,7 @@ RequestStream.prototype.pipeRequest = function (source) {
this.httpVersion = source.httpVersion;
this.setEncoding = source.setEncoding;
this.connection = source.connection;
+ this.socket = source.socket;
if (source.query) {
this.query = source.query;

0 comments on commit c2be475

Please sign in to comment.