Compare commits

..

1 Commits

Author SHA1 Message Date
Jeff Carr 1905db1f6a add something to print out a http PB 2025-09-22 01:50:47 -05:00
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,8 @@ package httppb
import ( import (
"fmt" "fmt"
"go.wit.com/log"
) )
func (pb *HttpRequest) DumpRemoteAddr() string { func (pb *HttpRequest) DumpRemoteAddr() string {
@ -21,6 +23,7 @@ func (pb *HttpRequest) DumpUserAgent() string {
// todo: convert this code // todo: convert this code
func (pb *HttpRequest) DumpClient() { func (pb *HttpRequest) DumpClient() {
log.Infof("%s %s %s\n", pb.Host, pb.URL, pb.RemoteAddr)
/* /*
var host, url, proto, addr, agent string var host, url, proto, addr, agent string