diff options
author | Dave Pacheco <dap@joyent.com> | 2011-06-04 18:04:38 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-06-04 18:05:01 +0400 |
commit | e142fe2be6ef3e5cd27b89d59175a3937b9fdb31 (patch) | |
tree | 067bdfdcd56a15e274c3fbefa43da1b413a67733 /src/node_provider.d | |
parent | b6a742d76fa8a598f24c8c2ec5b18d0cdc22ef4a (diff) |
DTrace probes: support X-Forwarded-For
INTRO-385
Diffstat (limited to 'src/node_provider.d')
-rw-r--r-- | src/node_provider.d | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/node_provider.d b/src/node_provider.d index bea4e5f58ec..646e21a22d1 100644 --- a/src/node_provider.d +++ b/src/node_provider.d @@ -41,7 +41,11 @@ typedef struct { typedef struct { int dummy; -} node_dtrace_http_request_t; +} node_dtrace_http_server_request_t; + +typedef struct { + int dummy; +} node_dtrace_http_client_request_t; typedef struct { int dummy; @@ -56,12 +60,12 @@ provider node { (node_connection_t *c, int b); probe net__socket__write(node_dtrace_connection_t *c, int b) : (node_connection_t *c, int b); - probe http__server__request(node_dtrace_http_request_t *h, + probe http__server__request(node_dtrace_http_server_request_t *h, node_dtrace_connection_t *c) : (node_http_request_t *h, node_connection_t *c); probe http__server__response(node_dtrace_connection_t *c) : (node_connection_t *c); - probe http__client__request(node_dtrace_http_request_t *h, + probe http__client__request(node_dtrace_http_client_request_t *h, node_dtrace_connection_t *c) : (node_http_request_t *h, node_connection_t *c); probe http__client__response(node_dtrace_connection_t *c) : |