197 Commits

Author SHA1 Message Date
Mitchell Hashimoto
c01c60d2d7 packer/rpc: fix a blocking issue 2014-02-21 16:48:17 -08:00
Mitchell Hashimoto
b232b19e1c fmt 2014-02-21 15:11:56 -08:00
Mitchell Hashimoto
c927dfa9cf packer/rpc: fix crashes with big file uploads [GH-897] 2014-02-21 14:24:22 -08:00
Mitchell Hashimoto
356e872adb packer/rpc: write only the remaining data on muxconn retry 2014-01-01 22:20:03 -08:00
Mitchell Hashimoto
b0d7933294 packer/rpc: get rid of trace level 2014-01-01 22:19:43 -08:00
Mitchell Hashimoto
c8ee2343c2 packer/rpc: more logging and fix a bug with read buffer start point 2014-01-01 22:13:06 -08:00
Mitchell Hashimoto
c2cd1af775 packer/rpc: more logs 2014-01-01 22:03:12 -08:00
Mitchell Hashimoto
73dc53dffb packer/rpc: more logging in muxconn 2014-01-01 21:59:00 -08:00
Mitchell Hashimoto
f027418794 packer/rpc: a little more logging 2014-01-01 21:53:57 -08:00
Mitchell Hashimoto
090718bd8e packer/rpc: make sure we read all the data 2014-01-01 21:53:36 -08:00
Mitchell Hashimoto
5fc3d67112 packer/rpc: make things loud 2014-01-01 21:34:11 -08:00
Mitchell Hashimoto
a03283c3ab fmt 2014-01-01 21:19:47 -08:00
Mitchell Hashimoto
00cc9fb14c packer/rpc: muxconn can't use stream ID 0 ever 2013-12-30 21:03:10 -08:00
Mitchell Hashimoto
26e56d78d7 packer/rpc: make buffer real big for writes [GH-755] 2013-12-27 09:55:52 -07:00
Mitchell Hashimoto
bd9574814d packer/rpc: build updated to use new interface 2013-12-27 09:19:11 -07:00
Mitchell Hashimoto
098d85f735 packer/rpc: ignore non-existent streams in muxconn 2013-12-26 23:34:18 -07:00
Mitchell Hashimoto
7c9c7afd82 packer/rpc: communicator shouldn't conncet to ID 0 2013-12-21 08:07:42 -08:00
Mitchell Hashimoto
d0c04e0c44 packer/rpc: if stream ID 0 is used, paic 2013-12-21 08:07:34 -08:00
Mitchell Hashimoto
31df3abe9d packer/rpc: don't use stream ID zero [GH-738] 2013-12-20 22:01:38 -08:00
Mitchell Hashimoto
44d40bb2bc packer/rpc: missing format for muxconn 2013-12-20 21:54:50 -08:00
Mitchell Hashimoto
b11cfb9fb0 packer/rpc: use a pointer for maps to avoid race 2013-12-20 10:02:47 -08:00
Mitchell Hashimoto
3b2871a2ea packer/rpc: fix data race by acquiring wrong locks in MuxConn 2013-12-20 09:55:57 -08:00
Mitchell Hashimoto
b92e3ce02a packer/rpc: accept/dial stream IDs are unique [GH-727] 2013-12-20 09:49:44 -08:00
Mitchell Hashimoto
ec889ee5d8 packer/rpc: make newXWithMuxConn private 2013-12-19 17:35:32 -08:00
Mitchell Hashimoto
8645918016 packer/rpc: make servers use odd seqnums, clients even [GH-727] 2013-12-19 17:32:43 -08:00
Mitchell Hashimoto
c0f314a7db packer/rpc: disable trace-level logs for now 2013-12-12 21:52:49 -08:00
Mitchell Hashimoto
bd34862033 packer/rpc: Clean up old streams [GH-708] 2013-12-12 13:38:44 -08:00
Mitchell Hashimoto
c0e1a5dea8 packer/rpc: clean up unnecessary functions 2013-12-12 13:21:42 -08:00
Mitchell Hashimoto
916053b278 packer/rpc: cleaner way to keep the seq number in MuxConn high 2013-12-12 10:23:37 -08:00
Mitchell Hashimoto
64e6897739 packer/rpc: make sure curID in MuxConn is highest [GH-705] 2013-12-12 00:36:49 -08:00
Mitchell Hashimoto
c58543edef packer/rpc: MuxConn implements three-way handshake 2013-12-11 23:50:41 -08:00
Mitchell Hashimoto
6f31b9a151 packer/rpc: can write while MuxConn is in CloseWait state 2013-12-11 17:14:01 -08:00
Mitchell Hashimoto
a957a427c4 packer/rpc: log when client closes mux 2013-12-11 16:33:43 -08:00
Mitchell Hashimoto
59c174e01b packer/rpc: log when a muxconn is shut down 2013-12-11 16:31:59 -08:00
Mitchell Hashimoto
15bd27eb5b packer/rpc: allow data to be sent even in FinWait [GH-705] 2013-12-11 14:26:45 -08:00
Mitchell Hashimoto
c09f37a68b go fmt 2013-12-11 11:19:36 -08:00
Mitchell Hashimoto
c78da95e18 packer/rpc: remove the PortRange stuff 2013-12-10 18:49:07 -08:00
Mitchell Hashimoto
aad214793a packer/rpc: update some comments 2013-12-10 17:31:54 -08:00
Mitchell Hashimoto
dd50e9d535 packer/rpc: fix data race in MuxConn 2013-12-10 17:09:17 -08:00
Mitchell Hashimoto
10c90e6513 packer/rpc: edge-triggerd state changes for faster dial/accept 2013-12-10 17:01:02 -08:00
Mitchell Hashimoto
322343b631 packer/rpc: hard close all streams when underlying conn closes 2013-12-10 16:49:14 -08:00
Mitchell Hashimoto
1dd77ffe21 packer/rpc: need a real lock for closing 2013-12-10 16:23:47 -08:00
Mitchell Hashimoto
0a863c97a4 packer/rpc: implement proper close_wait state 2013-12-10 15:51:22 -08:00
Mitchell Hashimoto
aa38e7e628 packer/rpc: rename uploadReader to uploadData because that makes sense 2013-12-10 15:30:58 -08:00
Mitchell Hashimoto
f6bb61c490 packer/rpc: more robust communicator connection cleanup 2013-12-10 15:12:16 -08:00
Mitchell Hashimoto
bf28b78d98 packer/rpc: improve logging for the MuxConn 2013-12-10 14:11:50 -08:00
Mitchell Hashimoto
68b1a7b4c8 packer/rpc: remove unused methods 2013-12-10 13:26:07 -08:00
Mitchell Hashimoto
512e27bdf6 packer/rpc: complete command 2013-12-10 13:23:07 -08:00
Mitchell Hashimoto
27ff2dc7a9 packer/rpc: builds 2013-12-10 13:18:48 -08:00
Mitchell Hashimoto
9986ba64a0 packer/rpc: environment 2013-12-10 12:23:42 -08:00