Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua T Corbin committed Jul 11, 2015
1 parent b4546a5 commit a2eb211
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion node/connection_base.js
Expand Up @@ -94,7 +94,7 @@ function connBaseRequest(options) {

TChannelConnectionBase.prototype.handleCallRequest = function handleCallRequest(req) {
var self = this;

self.ops.addInReq(req);

req.remoteAddr = self.remoteName;
Expand Down
2 changes: 2 additions & 0 deletions node/relay_handler.js
Expand Up @@ -126,6 +126,7 @@ function LazyRelayInReq(conn, peer, reqFrame) {

LazyRelayInReq.prototype.extendLogInfo = function extendLogInfo(info) {
var self = this;
// TODO: y u no request id? tracing id?
info.outRemoteAddr = self.outreq && self.outreq.remoteAddr;
info.inRemoteAddr = self.remoteAddr;

Expand Down Expand Up @@ -480,6 +481,7 @@ RelayRequest.prototype.onError = function onError(err) {

RelayRequest.prototype.extendLogInfo = function extendLogInfo(info) {
var self = this;
// TODO: y u no request id? tracing id?
info.outRemoteAddr = self.outreq && self.outreq.remoteAddr;
info.inRemoteAddr = self.inreq.remoteAddr;
info.serviceName = self.inreq.serviceName;
Expand Down
1 change: 1 addition & 0 deletions node/v2/handler.js
Expand Up @@ -224,6 +224,7 @@ TChannelV2Handler.prototype.handleCallRequest = function handleCallRequest(reqFr

var req = self.buildInRequest(reqFrame);

// TODO: revive this over lazy call rw
if (self.incomingRequestInvalid(reqFrame, req)) {
return null;
}
Expand Down

0 comments on commit a2eb211

Please sign in to comment.