Skip to content

Commit

Permalink
clean up readme, console logging; add PSH flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mnot committed Nov 23, 2010
1 parent 04236db commit 3be76a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -26,7 +26,7 @@ To use htracr, start it up like this:
> ./htracr.js [listen-port]
where _listen_port_ is the port you'd like htracr to be available on. Then,
point your browser at it; e.g.,:
point your browser at it; e.g.:

> ./htracr.js 8000
Expand Down Expand Up @@ -61,6 +61,7 @@ The slider will adjust the time scale.
- click on response to open window with it
- click on request to re-make request
- server stall time (based upon rtt)
- count round trips

### Bugs / Misc.

Expand Down
3 changes: 0 additions & 3 deletions htracr.js
Expand Up @@ -176,13 +176,10 @@ var htracr = {
}
if (self.server_names[server_ip] == undefined) {
self.server_names[server_ip] = ""
console.log("looking up " + server_ip)
dns.reverse(server_ip, function(err, domains) {
if (! err) {
console.log("found " + domains[0] + " for " + server_ip)
self.server_names[server_ip] = domains[0]
} else {
console.log('error looking up ' + server_ip + ": " + err)
delete self.server_names[server_ip]
}
})
Expand Down
1 change: 1 addition & 0 deletions lib/htracr-client.js
Expand Up @@ -373,6 +373,7 @@ var htracr = {
"<td class='" + (flags.ack ? "on" : "off") + "'> ACK </td>" +
"<td class='" + (flags.rst ? "on" : "off") + "'> RST </td>" +
"<td class='" + (flags.fin ? "on" : "off") + "'> FIN </td>" +
"<td class='" + (flags.psh ? "on" : "off") + "'> PSH </td>" +
"</tr>" +
"</table>" +
"<ul>" +
Expand Down

0 comments on commit 3be76a8

Please sign in to comment.