You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull -u" and retry what you did to
reproduce the problem. Thanks.
What steps will reproduce the problem?
1. Create an rpc server that does not serve http.
2. Connect to the port using a browser
3. Program panics
What is the expected output?
404 or some other error.
What do you see instead?
runtime panic
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
Linux
Which revision are you using? (hg identify)
7570d405bc93
Please provide any additional information below.
Code snippet:
func main() {
server := rpc.NewServer()
server.Register(new(Service)) // Some trivial rpc class
l, _ := net.Listen("tpc", ":8888")
server.Accept(l)
}
The text was updated successfully, but these errors were encountered:
by phanna@google.com:
The text was updated successfully, but these errors were encountered: