Changeset 383 in code for trunk/conn.go
- Timestamp:
- Aug 11, 2020, 8:34:38 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/conn.go
r347 r383 22 22 SetWriteDeadline(time.Time) error 23 23 RemoteAddr() net.Addr 24 LocalAddr() net.Addr 24 25 } 25 26 … … 88 89 func (wic websocketIRCConn) RemoteAddr() net.Addr { 89 90 return websocketAddr(wic.remoteAddr) 91 } 92 93 func (wic websocketIRCConn) LocalAddr() net.Addr { 94 // Behind a reverse HTTP proxy, we don't have access to the real listening 95 // address 96 return websocketAddr("") 90 97 } 91 98
Note:
See TracChangeset
for help on using the changeset viewer.