Commit Graph

54 Commits (4055c467a18c9452d41b531ba09db3b4215d5ad3)

Author SHA1 Message Date
Darien Raymond 42e4f06fe9
fix flaky test 2018-10-25 09:49:13 +02:00
Darien Raymond eb05a92592
dont start periodic task until necessary 2018-08-29 23:00:01 +02:00
Darien Raymond b23b218a7e
map based subscriber list 2018-07-01 19:30:05 +02:00
Darien Raymond 4368edf87c
switch to pubsub in dns service 2018-07-01 12:38:40 +02:00
Darien Raymond e5f6554703
fix notifier for backward compatibility 2018-06-26 15:28:59 +02:00
Darien Raymond 9cfb2bfd51
simplify classic dns server 2018-06-26 15:04:47 +02:00
Darien Raymond ef4542e778
fix race condition in ActivityTimer 2018-06-22 11:19:33 +02:00
Darien Raymond 3b765a7b35
remove unused code 2018-06-09 04:29:48 +02:00
Darien Raymond d6513ee4ec
test case for 0 timeout 2018-05-28 14:02:09 +02:00
Darien Raymond 6dbe2644a9
fix activity timer on timeout = 0 2018-05-28 13:55:20 +02:00
Darien Raymond ac6a0f7511
update activity timer 2018-05-27 14:42:53 +02:00
Darien Raymond 13f3c356ca
unified task package 2018-05-27 13:02:29 +02:00
Darien Raymond d7aeb51904
merge http.Connection into net.Connection 2018-04-20 21:30:58 +02:00
Darien Raymond d6dc88860b
simplify done api 2018-04-15 20:40:47 +02:00
Darien Raymond 320e1554bd
update issue template 2018-04-14 09:59:30 +02:00
Darien Raymond 666a1a17f2
fix test 2018-04-11 16:52:51 +02:00
Darien Raymond 0caf92726b
better way to run tasks in parallel 2018-04-11 16:45:09 +02:00
Darien Raymond 9d7f43a299
fix lint errors 2018-04-11 16:15:29 +02:00
wuxiang 3f19d09878 update some comments 2018-04-03 17:11:54 +08:00
wuxiangzhou2010 5a08411ee2 fix typo 2018-04-02 15:52:16 +08:00
Jinqiu Yu 855925a805 Fix typo 2018-03-15 10:32:10 +08:00
Darien Raymond 20fc4950b2
comments 2018-02-11 23:28:42 +01:00
Darien Raymond c368412728
test case for periodic task 2018-02-08 16:19:43 +01:00
Darien Raymond efcb567273
remove context in struct 2018-02-08 15:39:46 +01:00
Darien Raymond ede2c39967
non-blocking timer. Fixes #848 2018-02-06 11:16:49 +01:00
Darien Raymond 8a09c6c926
migrate to signal.Semaphore and Notifier 2017-12-27 21:33:42 +01:00
Darien Raymond 6c3ef146f1
fix test break 2017-12-14 23:57:04 +01:00
Darien Raymond bc9267846c
fix crash on init timeout = 0 2017-12-14 17:39:58 +01:00
Darien Raymond 9caa59c827
move ctx into function 2017-12-01 00:47:17 +01:00
Darien Raymond 0aa48e6c5a
cancel immediately when timeout = 0 2017-11-23 14:58:35 +01:00
Darien Raymond 0dbfb66126
clean up dns package 2017-11-15 00:36:14 +01:00
Darien Raymond 74cf833758 fully migrate to new assertion lib 2017-10-24 16:15:35 +02:00
ghv2 0ef745dbf9 fix timer leak 2017-10-06 20:59:04 +08:00
Darien Raymond 109a37fe7e aggressively close connection when response is done 2017-09-27 15:29:00 +02:00
Darien Raymond aea71c2aa8
release timer faster after ctx finish 2017-05-08 17:09:21 +02:00
Darien Raymond 98b5b415f0
remove unused code 2017-04-28 22:42:43 +02:00
Darien Raymond 54b441d690
simplify error propagation 2017-04-17 19:33:22 +02:00
Darien Raymond 18b0b87c52
no-op timer 2017-04-04 10:24:38 +02:00
Darien Raymond f34ad57b58
refactor timer api 2017-03-31 21:45:43 +02:00
Darien Raymond a944df2f9b comments 2017-02-23 19:30:37 +01:00
Darien Raymond 520e3ea9e6
signal.semaphore 2017-02-13 23:29:34 +01:00
Darien Raymond 90200fbecb
remove signal.Once 2017-02-13 23:12:27 +01:00
Darien Raymond 6d446f57f7
remove cancel signal 2017-02-13 23:03:42 +01:00
Darien Raymond 52ee3ff79c
update wait logic 2017-01-31 14:15:34 +01:00
Darien Raymond 23a8da215f
close timer sooner 2017-01-31 12:54:01 +01:00
Darien Raymond c462e35aad
cancel sessions after inactivity 2017-01-31 12:42:05 +01:00
Darien Raymond fab20bb0cf
close outbound connections when context is done 2017-01-28 21:24:46 +01:00
Darien Raymond 609dbc1f13
task engine for all proxies 2016-12-30 00:32:20 +01:00
Darien Raymond 690d71b16e
go style task engine 2016-12-29 22:17:12 +01:00
Darien Raymond f95c322677
rename 'this' 2016-11-27 21:39:09 +01:00