Naitik Shah
|
09bc4c424a
|
dont throw away SetDeadline error
|
2013-10-06 11:07:31 -07:00 |
|
Naitik Shah
|
70bbce6ad2
|
dont use named return variables in a strange way
|
2013-10-06 11:05:27 -07:00 |
|
Naitik Shah
|
61aafa98f8
|
move inline interface out for readability
|
2013-10-06 11:00:22 -07:00 |
|
Naitik Shah
|
220ebb1f4f
|
use defer in conn.Close
|
2013-10-06 10:54:16 -07:00 |
|
Naitik Shah
|
e3a666a3f1
|
more testing and resiliency
|
2013-10-06 10:38:28 -07:00 |
|
Naitik Shah
|
d69b13103f
|
wait after stop
|
2013-10-06 10:01:17 -07:00 |
|
Naitik Shah
|
9a444d2674
|
move build out for shared builds
|
2013-10-06 09:58:50 -07:00 |
|
Naitik Shah
|
e2cfa20d82
|
add apache 2.0 license. closes #4
|
2013-10-01 09:54:56 -07:00 |
|
Naitik Shah
|
72ccd60490
|
fix bugs pointed out by go vet
|
2013-09-18 17:58:04 -07:00 |
|
Naitik Shah
|
f41bb0a2be
|
handle race condition that may arise between accept and add
|
2013-09-10 12:42:11 -07:00 |
|
Naitik Shah
|
4817bd8812
|
mention TLS
|
2013-08-31 19:59:33 -07:00 |
|
Naitik Shah
|
e39d448b5c
|
use godoc instead of gowalker
|
2013-08-21 12:29:34 -07:00 |
|
Naitik Shah
|
ebaf0674d2
|
spelling nit
|
2013-08-20 16:48:43 -07:00 |
|
Naitik Shah
|
57754541e7
|
dont drop the last connection. fixes TLS issues
|
2013-08-20 16:23:38 -07:00 |
|
Naitik Shah
|
267d243f26
|
ensure correct pid when waiting for server
|
2013-08-20 13:28:03 -07:00 |
|
Naitik Shah
|
eb6bada57c
|
connection refused errors are expectede
|
2013-08-20 13:15:00 -07:00 |
|
Naitik Shah
|
8060336110
|
https support in gracehttp
|
2013-08-20 11:38:19 -07:00 |
|
Naitik Shah
|
8711fea1ad
|
remove last sleep in test path
|
2013-08-19 23:12:26 -07:00 |
|
Naitik Shah
|
a4481adb67
|
remove most unnecessary sleeps from tests
|
2013-08-19 22:51:32 -07:00 |
|
Naitik Shah
|
2024e37361
|
flag for debug logging rather than const
|
2013-08-19 15:39:03 -07:00 |
|
Naitik Shah
|
0b607a2494
|
mutex for h.Process mutation to prevent data races
|
2013-08-19 15:37:41 -07:00 |
|
Naitik Shah
|
3bfe2f78ad
|
use gowalker instead of godoc
|
2013-05-18 10:47:59 -07:00 |
|
Naitik Shah
|
40f23f4b6f
|
readme nit
|
2013-05-18 10:31:19 -07:00 |
|
Naitik Shah
|
792bc8817c
|
replace gracehttp.Handler with http.Server for maximum control
this is a backward incompatible change as such. http.Server is a
superset of what gracehttp.Handler was and the fix is trivial.
|
2013-05-09 09:28:09 -07:00 |
|
Naitik Shah
|
6bda16a267
|
fix racy behavior with closing channels
replaces custom channel logic with simpler RWMutex and WaitGroup
|
2013-05-08 23:25:58 -07:00 |
|
Naitik Shah
|
8f7f9df910
|
drop connections that come in between a close and an accept race
this is bad, but worse is the current logic which can sometimes hit a
nil counter channel.
|
2013-04-03 18:11:40 -07:00 |
|
Naitik Shah
|
249c1519e3
|
needed for go 1.0.x
|
2013-03-27 19:36:19 -07:00 |
|
Naitik Shah
|
d710f745bd
|
also close the counter channel to raise potential data races
|
2013-03-27 18:43:33 -07:00 |
|
Naitik Shah
|
40271cd1a7
|
fix data races around use of l.closed
fixes #1
|
2013-03-27 18:29:36 -07:00 |
|
Naitik Shah
|
3efb5417dc
|
readme explaining gracedemo usage
|
2013-03-25 19:21:14 -07:00 |
|
Naitik Shah
|
95348749e8
|
incorrect demo comment
|
2013-03-25 16:37:01 -07:00 |
|
Naitik Shah
|
e6c599461d
|
return on error
|
2013-03-25 14:59:40 -07:00 |
|
Naitik Shah
|
07af98f40b
|
include pid in sleep response
|
2013-03-25 14:54:13 -07:00 |
|
Naitik Shah
|
308a01b46b
|
demo code smell
|
2013-03-25 14:51:46 -07:00 |
|
Naitik Shah
|
0109b3fb52
|
note about systemd compatibility in readme
|
2013-03-25 14:46:34 -07:00 |
|
Naitik Shah
|
8b2bf35743
|
remove some duplication
|
2013-03-25 14:39:26 -07:00 |
|
Naitik Shah
|
d0382a39e6
|
realListener => FileListener
|
2013-03-25 14:38:05 -07:00 |
|
Naitik Shah
|
e40cf41eb0
|
attempt to fix travis issues
|
2013-03-25 13:59:39 -07:00 |
|
Naitik Shah
|
ff78530d8b
|
docs & readme
|
2013-03-25 13:53:07 -07:00 |
|
Naitik Shah
|
991a4f1f05
|
fix bug introduced with systemd compatibility
|
2013-03-25 13:33:16 -07:00 |
|
Naitik Shah
|
faf45f4e9e
|
ensure nil return when not an error
|
2012-09-12 11:57:20 -07:00 |
|
Naitik Shah
|
5540a9b5d3
|
systemd socket activation compatibility
|
2012-09-02 21:21:19 -07:00 |
|
Naitik Shah
|
c5f3993bce
|
travis update
|
2012-07-14 19:31:32 -07:00 |
|
Naitik Shah
|
9e606e1ce8
|
reckless username change
|
2012-07-07 14:38:18 -07:00 |
|
Naitik Shah
|
06cda01027
|
travis ci setup
|
2012-07-07 00:01:42 -07:00 |
|
Naitik Shah
|
7aa612785a
|
docs and api cleanup
|
2012-06-04 21:56:51 -07:00 |
|
Naitik Shah
|
13afde4bc1
|
return errors instead of fataling
probably still need to cleanup coroutines
|
2012-06-04 21:32:44 -07:00 |
|
Naitik Shah
|
a98138a3e6
|
clean repo
|
2012-06-04 22:21:10 +00:00 |
|