summaryrefslogtreecommitdiff
path: root/usr/austin/eval/expr.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-07-15 10:49:47 -0700
committerRuss Cox <rsc@golang.org>2009-07-15 10:49:47 -0700
commitabf38596374f8ff10572e9fd2a52773b45445b6b (patch)
treede3fb5aabd82594b550245105ed1726b00399799 /usr/austin/eval/expr.go
parent0783008cf93897132001fa3fae75615ae67d45c0 (diff)
downloadgolang-abf38596374f8ff10572e9fd2a52773b45445b6b.tar.gz
change HTTP access for RPC.
1. use CONNECT instead of GET. CONNECT has exactly the meaning we want; most of the time people connect to ip:port; we're connecting to /_goRPC_ 2. wait for a successful HTTP response before assuming we are connected to the RPC protocol. this allows better error reporting and also keeps the protocol alternating between speakers, so that the buffering in the HTTP request reader cannot accidentally eat some RPC bytes too. gotest sometimes hangs, but not in HTTP. gotest -match=Unknown hangs every few runs even in a clean client. R=r DELTA=117 (57 added, 44 deleted, 16 changed) OCL=31656 CL=31685
Diffstat (limited to 'usr/austin/eval/expr.go')
0 files changed, 0 insertions, 0 deletions