summaryrefslogtreecommitdiff
path: root/src/pkg/net
AgeCommit message (Collapse)AuthorFilesLines
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg169-4841/+13730
2012-06-14Imported Upstream version 1.0.2upstream/1.0.2Ondřej Surý13-16/+138
2012-05-02Imported Upstream version 1.0.1upstream/1.0.1Ondřej Surý8-22/+21
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý180-3140/+26545
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý86-0/+12459
2011-09-13Imported Upstream version 60Ondřej Surý70-10828/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý28-756/+872
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý31-236/+1493
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý23-53/+342
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý36-329/+1027
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý12-393/+509
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-2/+2
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý13-96/+411
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý38-184/+1940
2010-06-29net: initial attempt to implement windows versionAlex Brainman2-2/+386
R=rsc, Mateusz Czaplinski CC=golang-dev http://codereview.appspot.com/1600041 Committer: Russ Cox <rsc@golang.org>
2010-06-30 net: add support for DNS SRV requests.Kirklin McDonald2-23/+82
Fixes issue 758. R=rsc, adg CC=golang-dev http://codereview.appspot.com/1078041 Committer: Andrew Gerrand <adg@golang.org>
2010-06-29Move the function Run() back into fd.go.Vinu Rajashekhar2-46/+44
R=iant CC=golang-dev, rsc http://codereview.appspot.com/1748041 Committer: Ian Lance Taylor <iant@golang.org>
2010-06-28Move the functions, newPollServer and Run, from fd.goVinu Rajashekhar3-75/+88
to a new source file. R=iant, rsc CC=golang-dev http://codereview.appspot.com/1670046 Committer: Ian Lance Taylor <iant@golang.org>
2010-06-21net: move Dial, Listen out of net.go.Russ Cox3-172/+180
now net.go is only type definitions, not active code. R=r CC=golang-dev http://codereview.appspot.com/1708046
2010-06-21net: Fix ICMP test.Christopher Wedgwood1-2/+2
Ping IDs should be limited to 16-bits. Fix failure printing. R=rsc CC=golang-dev, jean-christophe smith <jeanchristophe.smith http://codereview.appspot.com/1682043 Committer: Russ Cox <rsc@golang.org>
2010-06-20reflect: add Kind, remove Int8Type, Int8Value, etc.Russ Cox1-30/+41
update other code to match. R=r CC=golang-dev http://codereview.appspot.com/1680044
2010-06-08misc cleanup: gofmt + &x -> x[0:] conversionRuss Cox3-10/+10
R=gri CC=golang-dev http://codereview.appspot.com/1620042
2010-05-31net: fix typoAndrew Gerrand1-1/+1
Fixes issue 819. R=rsc CC=golang-dev http://codereview.appspot.com/1421041
2010-05-27changes &x -> x[0:] for array to slice conversionRuss Cox7-17/+17
R=gri CC=golang-dev http://codereview.appspot.com/1326042
2010-05-24net: udp, implement BindToDeviceChristopher Wedgwood1-0/+10
R=rsc CC=golang-dev, r http://codereview.appspot.com/1271041 Committer: Russ Cox <rsc@golang.org>
2010-05-21go/printer, gofmt: fix printing of labels,Robert Griesemer1-1/+2
apply gofmt to src, misc Fixes issue 752. R=rsc CC=golang-dev http://codereview.appspot.com/1240044 Committer: Robert Griesemer <gri@golang.org>
2010-05-21net: implement raw socketsChristopher Wedgwood8-10/+519
R=rsc CC=golang-dev http://codereview.appspot.com/684041 Committer: Russ Cox <rsc@golang.org>
2010-05-20netFD: fix race between Close and Read/WriteMichael Hoisie1-2/+9
Fixes issue 783. R=rsc, cw CC=golang-dev http://codereview.appspot.com/1207043 Committer: Russ Cox <rsc@golang.org>
2010-05-05Fix a typo in net/unixsockConrad Meyer1-1/+1
R=golang-dev, gri CC=golang-dev http://codereview.appspot.com/1113041 Committer: Robert Griesemer <gri@golang.org>
2010-04-29net: use short variable declarationChristopher Wedgwood1-2/+1
R=rsc CC=golang-dev http://codereview.appspot.com/1019043 Committer: Russ Cox <rsc@golang.org>
2010-04-29net: parser should handle EOF without newline properly.Christopher Wedgwood1-10/+14
Fixes issue 686. R=rsc CC=adg, golang-dev http://codereview.appspot.com/979044 Committer: Russ Cox <rsc@golang.org>
2010-04-28net: do not require newline at end of resolv.confRuss Cox1-0/+5
Fixes issue 686. R=adg CC=golang-dev http://codereview.appspot.com/961046
2010-04-27net: drop non-RHEL-4.6 ports from testRuss Cox1-2/+0
Fixes issue 610. R=adg CC=golang-dev http://codereview.appspot.com/1006044
2010-04-27net: fix bug in internetSocket introduced by error cleanup.Russ Cox1-1/+1
Fixes issue 750. R=adg CC=golang-dev http://codereview.appspot.com/988043
2010-04-26net: introduce net.Error interfaceRuss Cox11-317/+339
Adds two more methods, Timeout and Temporary. Implemented by os.Errno too. The intent is to make the checks for os.EAGAIN a little less clunky. It should also let us clean up a bug that Mike Solomon pointed out: if a network server gets an "out of file descriptors" error from Accept, the listener should not stop. It will be able to check this because that error would have Temporary() == true. Also clean up some underscore names. Fixes issue 442. R=r CC=golang-dev, msolo http://codereview.appspot.com/957045
2010-04-26net: add PipeRuss Cox3-0/+120
R=r CC=golang-dev http://codereview.appspot.com/1004043
2010-04-18net: fix bugs in packStructValueMichael Hoisie1-4/+4
packStructValue was cutting off last byte of uint32 in _Dns_msg.Unpack, use packRR for rr types R=rsc CC=golang-dev http://codereview.appspot.com/844048 Committer: Russ Cox <rsc@golang.org>
2010-04-06net: use chan bool instead of chan *netFD to avoid cycleRuss Cox1-8/+8
The cycle is *netFD -> cw chanl *netFD in struct -> same *netFD in channel read buffer. Because channels are finalized, the cycle makes them uncollectable. A better fix is to make channels not finalized anymore, and that will happen, but this is an easy, reasonable workaround until then. Another good fix would be to zero the channel receive buffer entry after the receive. That too will happen. R=r CC=golang-dev http://codereview.appspot.com/875043
2010-03-30simplify various code using new map index ruleRuss Cox1-2/+1
R=r CC=golang-dev http://codereview.appspot.com/833044
2010-03-30single argument panicRuss Cox2-7/+3
note that sortmain.go has been run through hg gofmt; only the formatting of the day initializers changed. i'm happy to revert that formatting if you'd prefer. stop on error in doc/progs/run R=r CC=golang-dev http://codereview.appspot.com/850041
2010-03-24delete all uses of panicln by rewriting them using panic or,Rob Pike1-1/+1
in the tests, println+panic. gofmt some tests too. R=rsc CC=golang-dev http://codereview.appspot.com/741041
2010-03-16net: fix IPMask.String not to crash on all-0xff maskRuss Cox1-21/+38
R=r CC=golang-dev http://codereview.appspot.com/438042
2010-03-03net: put [ ] around IPv6 addresses for DialRuss Cox1-1/+5
Update issue 538. R=r CC=golang-dev http://codereview.appspot.com/229045
2010-03-03net: fix nil deref in testTimeout when Dial failsRuss Cox1-1/+2
Pointed out by Scott Schwartz. Fixes issue 637. R=scotts CC=golang-dev http://codereview.appspot.com/225042
2010-03-03net: fix network timeout boundary condition.Stephen Ma1-1/+1
Fixes issue 472. R=golang-dev CC=golang-dev http://codereview.appspot.com/223108
2010-03-03net: correct DNS configurationStephen Ma2-3/+3
Set defaults to the same values as various C DNS resolver libraries. Use the timeout value from the configuration. Fixes issue 632. R=rsc CC=golang-dev http://codereview.appspot.com/223094
2010-03-02gofmt: experiment: align values in map composites where possibleRobert Griesemer2-14/+14
- gofmt -w src misc - looking for feedback R=rsc, r CC=golang-dev http://codereview.appspot.com/223076
2010-02-25strings: delete Runes, BytesRuss Cox2-3/+2
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench delete unused imports R=r CC=golang-dev http://codereview.appspot.com/224062
2010-02-25Fix small typo in net package.Stephen Weinberg1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/224061 Committer: Russ Cox <rsc@golang.org>
2010-02-22net: disable UDP server testRuss Cox1-3/+6
has been flaking on various architectures. not sure why, but doesn't seem to be Go's fault. Fixes issue 617. R=r CC=golang-dev http://codereview.appspot.com/217093