[issue #39] Fix a bug with client_req handling in the default output of the bunyan CLI.

This commit is contained in:
Trent Mick 2012-08-30 12:16:43 -07:00
parent a8afc4c30e
commit 44c54f4167
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,8 @@
## bunyan 0.13.5 (not yet released)
(nothing yet)
- [issue #39] Fix a bug with `client_req` handling in the default output
of the `bunyan` CLI.
## bunyan 0.13.4

View file

@ -662,7 +662,7 @@ function emitRecord(rec, line, opts, stylize) {
delete client_req.port;
s += format("%s %s HTTP/%s\n%s%s", client_req.method,
client_req.url,
req.client_req.httpVersion || "1.1",
client_req.httpVersion || "1.1",
hostHeaderLine,
Object.keys(headers).map(
function (h) { return h + ': ' + headers[h]; }).join('\n'));