a few lines of comment text
This commit is contained in:
parent
224238cb89
commit
049937a53b
@ -118,7 +118,12 @@ func (ctl *client_ctl_client_conns) ServeHTTP(w http.ResponseWriter, req *http.R
|
|||||||
if err = je.Encode(js); err != nil { goto oops }
|
if err = je.Encode(js); err != nil { goto oops }
|
||||||
|
|
||||||
case http.MethodPost:
|
case http.MethodPost:
|
||||||
// add a new server connection
|
// add a new client connection to a server with no client-side peers
|
||||||
|
// while the client code can accept one more more client-side peer address
|
||||||
|
// with the server added, i don't intentially accept peer addresses
|
||||||
|
// as it's tricky to handle erroneous cases in creating the client routes
|
||||||
|
// after hacing connected to the server. therefore, the json_in_client_conn
|
||||||
|
// type contains a server address field only.
|
||||||
var s json_in_client_conn
|
var s json_in_client_conn
|
||||||
var cc ClientConfig
|
var cc ClientConfig
|
||||||
var cts *ClientConn
|
var cts *ClientConn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user