summaryrefslogtreecommitdiff
path: root/src/net/rpc
Commit message (Collapse)AuthorAgeFilesLines
* net/rpc: fix mutex commentRob Pike2014-10-131-6/+6
| | | | | | | | | Fixes issue 8086. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://codereview.appspot.com/153420044
* net/rpc: fix buildDavid du Colombier2014-10-091-0/+1
| | | | | | | LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://codereview.appspot.com/151620043
* net/rpc: skip TestGobError on Plan 9David du Colombier2014-10-091-0/+3
| | | | | | | LGTM=bradfitz R=rsc, bradfitz CC=aram, golang-codereviews https://codereview.appspot.com/154140043
* net/rpc: listen on localhost, let kernel pick portRuss Cox2014-10-071-2/+2
| | | | | | | | | | This avoids a pop-up box on OS X and it avoids a test failure if something is using 5555. I apologize for not noticing this during the review. TBR=r CC=golang-codereviews https://codereview.appspot.com/152320044
* net/rpc: add test for issue 7689 (gob error should cause EOF)Rob Pike2014-10-071-0/+51
| | | | | | | | | Helpfully supplied by tommi.virtanen in issue 8173. LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews https://codereview.appspot.com/151370043
* net/rpc: shut down connection if gob has errorRob Pike2014-10-011-1/+24
| | | | | | | | | | | | | The nicest solution would be to buffer the message and only write it if it encodes correctly, but that adds considerable memory and CPU overhead for a very rare condition. Instead, we just shut down the connection if this happens. Fixes issue 7689. LGTM=rsc R=rsc CC=golang-codereviews https://codereview.appspot.com/146670043
* build: move package sources from src/pkg to srcRuss Cox2014-09-088-0/+2368
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.