Commit Graph

46 Commits

Author SHA1 Message Date
Xing Xing
25735c8488 merge for issue #33 2014-12-10 09:13:49 +08:00
Joe Higton
97731e1774 FIX: EOF disconnect error also called raw handler afterwards 2014-06-10 04:09:27 +01:00
Joe Higton
09c626f488 Cope with io.EOF as a disconnect error 2014-06-10 03:46:21 +01:00
Joe Higton
1ebb3d5fcc Wrap disconnect errors and allow reconnect 2014-06-10 03:23:18 +01:00
Joe Higton
99bcf11768 FIX: The error handler is not called on disconnect
Using the disconnect test showed the agent was silently closing on disconnect
2014-06-07 07:22:40 +01:00
Kevin Darlington
de91c999f7 Changed agent.read to handle big data. 2014-03-08 19:22:14 -05:00
Xing Xing
f880354a61 type assertion with *net.OpError 2014-03-03 14:45:35 +08:00
Xing Xing
2bd19fb2fb Merge branch 'master' into 0.2-dev 2014-01-15 09:38:41 +08:00
Sam Grimee
221e11861f keep already received data if not enough to decode 2014-01-14 17:06:20 +01:00
Xing Xing
87631cc2e5 go fmt & better examples 2014-01-09 17:58:02 +08:00
Xing Xing
e701be9288 Merge branch 'master' into 0.2-dev 2014-01-09 16:18:52 +08:00
Xing Xing
76196899f8 fxied issue #20 2014-01-09 16:16:34 +08:00
Xing Xing
d282ef337a benchmark for encoding/decoding 2013-12-29 17:09:06 +08:00
Xing Xing
9f96247384 fixed the worker's testing cases 2013-12-26 15:55:16 +08:00
Xing Xing
bf25cc1728 a better documents for the client package 2013-12-26 15:28:42 +08:00
Xing Xing
59941371fb Something should not display in documents, disabled. 2013-12-26 12:32:27 +08:00
Xing Xing
18791d0490 a better documents 2013-12-26 12:06:47 +08:00
Xing Xing
02e6bfebcb prepared for documentation 2013-12-25 17:01:42 +08:00
Xing Xing
2da5f29cd1 refactoring complated 2013-12-24 14:35:33 +08:00
Xing Xing
2ee2be0891 go fmt 2013-12-23 17:05:42 +08:00
Xing Xing
2b4cc002d1 grab, no_job, pre_sleep, noop 2013-12-23 17:01:01 +08:00
Xing Xing
a33a6cde32 complated in/out-pack name's refactoring 2013-12-21 11:09:13 +08:00
Xing Xing
e5179e3b5b started refactoring worker 2013-08-30 18:01:10 +08:00
Xing Xing
124e686699 go fmt 2013-08-30 12:36:57 +08:00
mikespook
8e009be940 #14 fixed 2013-04-24 16:58:06 +08:00
miraclesu
9549d98a7c Close friendly 2013-03-26 17:22:07 +08:00
mikespook
d927d374de fixed the import path 2012-12-30 22:23:40 +08:00
suchj
af47a3228f retrun data slice with correct index 2012-12-30 02:01:09 +08:00
suchj
36ba74f0dc A better read method 2012-12-28 21:19:58 +08:00
mikespook
6834e94fc5 take a break for reading data 2012-12-28 17:14:47 +08:00
mikespook
0df61bcd82 fixed the border value 2012-12-27 13:06:18 +08:00
mikespook
027ca1c67c too few data to unpack, read more 2012-12-27 12:32:41 +08:00
mikespook
63480d6547 Check the length of data, if less 12, read more 2012-12-27 12:13:43 +08:00
mikespook
cd1bd72a80 read more 2012-12-27 11:36:11 +08:00
mikespook
fee531f9c1 check the size of byte array, greater or lesser 2012-12-26 17:03:15 +08:00
mikespook
d6c6bfe9f0 moved to github 2012-12-21 11:11:37 +08:00
mikespook
b7ee1d68f5 fixed a exec issue, timeout exec need to fix
--HG--
branch : dev
2012-08-30 16:12:15 +08:00
mikespook
79c4bc2e47 promoted the executing timeout
--HG--
branch : dev
2012-06-05 14:36:39 +08:00
mikespook
e18e782bba fixed grabbing jobs 2012-06-04 23:01:46 +08:00
mikespook
b7c858553c add reconnection to worker 2012-05-30 11:20:29 +08:00
mikespook
d2301626cd fixed the infinite loop issue 2012-05-28 10:56:01 +08:00
mikespook
3e7b5d6cf3 merge 2012-05-28 10:36:08 +08:00
mikespook
842edf79ba fixed a infinite loop 2012-05-28 10:34:16 +08:00
mikespook
a8f7c8ab9d Read a empty data means connection error 2012-05-24 21:17:06 +08:00
mikespook
d6a9025a56 The worker can be working now.
--HG--
branch : 0.1
2012-05-24 16:49:35 +08:00
mikespook
2960cb9953 refacotring worker's code
--HG--
branch : 0.1
rename : worker/jobagent.go => worker/agent.go
rename : worker/workerjob.go => worker/job.go
2012-05-23 17:45:52 +08:00