Commit Graph

54 Commits (b9450d8475a3b84a8f54c120f76f6de112fd952e)

Author SHA1 Message Date
Darien Raymond 42e4f06fe9
fix flaky test
6 years ago
Darien Raymond eb05a92592
dont start periodic task until necessary
6 years ago
Darien Raymond b23b218a7e
map based subscriber list
7 years ago
Darien Raymond 4368edf87c
switch to pubsub in dns service
7 years ago
Darien Raymond e5f6554703
fix notifier for backward compatibility
7 years ago
Darien Raymond 9cfb2bfd51
simplify classic dns server
7 years ago
Darien Raymond ef4542e778
fix race condition in ActivityTimer
7 years ago
Darien Raymond 3b765a7b35
remove unused code
7 years ago
Darien Raymond d6513ee4ec
test case for 0 timeout
7 years ago
Darien Raymond 6dbe2644a9
fix activity timer on timeout = 0
7 years ago
Darien Raymond ac6a0f7511
update activity timer
7 years ago
Darien Raymond 13f3c356ca
unified task package
7 years ago
Darien Raymond d7aeb51904
merge http.Connection into net.Connection
7 years ago
Darien Raymond d6dc88860b
simplify done api
7 years ago
Darien Raymond 320e1554bd
update issue template
7 years ago
Darien Raymond 666a1a17f2
fix test
7 years ago
Darien Raymond 0caf92726b
better way to run tasks in parallel
7 years ago
Darien Raymond 9d7f43a299
fix lint errors
7 years ago
wuxiang 3f19d09878 update some comments
7 years ago
wuxiangzhou2010 5a08411ee2 fix typo
7 years ago
Jinqiu Yu 855925a805 Fix typo
7 years ago
Darien Raymond 20fc4950b2
comments
7 years ago
Darien Raymond c368412728
test case for periodic task
7 years ago
Darien Raymond efcb567273
remove context in struct
7 years ago
Darien Raymond ede2c39967
non-blocking timer. Fixes #848
7 years ago
Darien Raymond 8a09c6c926
migrate to signal.Semaphore and Notifier
7 years ago
Darien Raymond 6c3ef146f1
fix test break
7 years ago
Darien Raymond bc9267846c
fix crash on init timeout = 0
7 years ago
Darien Raymond 9caa59c827
move ctx into function
7 years ago
Darien Raymond 0aa48e6c5a
cancel immediately when timeout = 0
7 years ago
Darien Raymond 0dbfb66126
clean up dns package
7 years ago
Darien Raymond 74cf833758 fully migrate to new assertion lib
7 years ago
ghv2 0ef745dbf9 fix timer leak
7 years ago
Darien Raymond 109a37fe7e aggressively close connection when response is done
7 years ago
Darien Raymond aea71c2aa8
release timer faster after ctx finish
8 years ago
Darien Raymond 98b5b415f0
remove unused code
8 years ago
Darien Raymond 54b441d690
simplify error propagation
8 years ago
Darien Raymond 18b0b87c52
no-op timer
8 years ago
Darien Raymond f34ad57b58
refactor timer api
8 years ago
Darien Raymond a944df2f9b comments
8 years ago
Darien Raymond 520e3ea9e6
signal.semaphore
8 years ago
Darien Raymond 90200fbecb
remove signal.Once
8 years ago
Darien Raymond 6d446f57f7
remove cancel signal
8 years ago
Darien Raymond 52ee3ff79c
update wait logic
8 years ago
Darien Raymond 23a8da215f
close timer sooner
8 years ago
Darien Raymond c462e35aad
cancel sessions after inactivity
8 years ago
Darien Raymond fab20bb0cf
close outbound connections when context is done
8 years ago
Darien Raymond 609dbc1f13
task engine for all proxies
8 years ago
Darien Raymond 690d71b16e
go style task engine
8 years ago
Darien Raymond f95c322677
rename 'this'
8 years ago