42 lines
1.3 KiB
Diff
42 lines
1.3 KiB
Diff
--- ../node/lib/http.js 2013-12-06 15:13:27.999097695 -0800
|
|
+++ src/main/js/lib/http.js 2013-12-06 15:25:00.781739221 -0800
|
|
@@ -1008,12 +1008,12 @@
|
|
OutgoingMessage.prototype._finish = function() {
|
|
assert(this.connection);
|
|
if (this instanceof ServerResponse) {
|
|
- DTRACE_HTTP_SERVER_RESPONSE(this.connection);
|
|
- COUNTER_HTTP_SERVER_RESPONSE();
|
|
+ // DTRACE_HTTP_SERVER_RESPONSE(this.connection);
|
|
+ // COUNTER_HTTP_SERVER_RESPONSE();
|
|
} else {
|
|
assert(this instanceof ClientRequest);
|
|
- DTRACE_HTTP_CLIENT_REQUEST(this, this.connection);
|
|
- COUNTER_HTTP_CLIENT_REQUEST();
|
|
+ // DTRACE_HTTP_CLIENT_REQUEST(this, this.connection);
|
|
+ // COUNTER_HTTP_CLIENT_REQUEST();
|
|
}
|
|
this.emit('finish');
|
|
};
|
|
@@ -1678,8 +1678,8 @@
|
|
}
|
|
|
|
|
|
- DTRACE_HTTP_CLIENT_RESPONSE(socket, req);
|
|
- COUNTER_HTTP_CLIENT_RESPONSE();
|
|
+ //DTRACE_HTTP_CLIENT_RESPONSE(socket, req);
|
|
+ //COUNTER_HTTP_CLIENT_RESPONSE();
|
|
req.res = res;
|
|
res.req = req;
|
|
|
|
@@ -2055,8 +2055,8 @@
|
|
var res = new ServerResponse(req);
|
|
|
|
res.shouldKeepAlive = shouldKeepAlive;
|
|
- DTRACE_HTTP_SERVER_REQUEST(req, socket);
|
|
- COUNTER_HTTP_SERVER_REQUEST();
|
|
+ //DTRACE_HTTP_SERVER_REQUEST(req, socket);
|
|
+ //COUNTER_HTTP_SERVER_REQUEST();
|
|
|
|
if (socket._httpMessage) {
|
|
// There are already pending outgoing res, append.
|