Skip to content

Commit

Permalink
[api] Expose raw socket on the request stream
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki committed Jun 16, 2012
1 parent a7b354e commit c2be475
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/request-stream.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ RequestStream.prototype.pipeRequest = function (source) {
this.httpVersion = source.httpVersion; this.httpVersion = source.httpVersion;
this.setEncoding = source.setEncoding; this.setEncoding = source.setEncoding;
this.connection = source.connection; this.connection = source.connection;
this.socket = source.socket;


if (source.query) { if (source.query) {
this.query = source.query; this.query = source.query;
Expand Down

0 comments on commit c2be475

Please sign in to comment.