Commit Graph

  • 39255faa9a feat(grace): 测试多进程监听同一个 fd master liuyx 2024-04-18 14:09:13 +0800
  • 75cf193824
    Merge pull request #39 from fantasist/master Mark 2018-07-05 21:00:59 -0700
  • d5e2c01884 update to MIT license fantasist 2018-06-24 21:47:54 -0700
  • 4afe952a37 Add option for 'StartupHook' (#35) Ben Tyler 2017-02-18 23:52:39 +0100
  • 5b49dc98ff Expose logger (#34) Maksim N 2017-02-16 23:22:40 +0100
  • 5729e48447 Add support for SIGINT (#30) Alexandre Fiori 2016-09-26 19:17:15 -0400
  • 2fe6ef9ad6 use go-1.7 on travis Naitik Shah 2016-09-26 16:11:18 -0700
  • 053ab5d254 Merge pull request #16 from tabalt/master Naitik Shah 2015-08-07 14:49:31 -0700
  • cb0d6e3c43 fixed a word spelling mistake: pacakge -> package tabalt 2015-08-04 14:57:06 +0800
  • 91b9915447 fix readme godoc link Naitik Shah 2015-06-15 20:35:34 +0000
  • d683915fca grr. 1.4 import path changes Naitik Shah 2015-06-15 20:34:53 +0000
  • 354cd19bcf requrie go 1.4 for TestMain support Naitik Shah 2015-06-15 20:28:04 +0000
  • d2d22699f1 use TestMain and remove external binary Naitik Shah 2015-06-15 20:27:40 +0000
  • 2e2aaa0ab8 remove old grace implementation Naitik Shah 2015-06-15 20:26:40 +0000
  • c504619754 update to Additional Grant of Patent Rights Version 2 Naitik Shah 2015-06-12 18:29:25 +0000
  • 1b0609c25d require go 1.3 now Naitik Shah 2014-12-01 12:19:52 -0800
  • f506214ae8 gracenet and a new version of http.ConnState enabled gracehttp Naitik Shah 2014-12-01 12:19:05 -0800
  • 5369e5af9d split cover & race for accurate line numbers Naitik Shah 2014-07-10 23:14:31 -0700
  • 39959e963b more elaborate travis setup Naitik Shah 2014-07-10 23:02:29 -0700
  • feb0fe057f go get -t doesn't work on 1.1 Naitik Shah 2014-05-23 18:32:24 -0700
  • 3aed077b82 need to pull test deps on travis Naitik Shah 2014-05-23 18:30:27 -0700
  • b188da9bd5 use stock travis Naitik Shah 2014-05-23 18:28:18 -0700
  • eca73f0096 internal sync, license update, 1.2 on travis etc Naitik Shah 2014-04-02 14:59:35 -0700
  • ce06322e66 go.grace => grace Naitik Shah 2014-04-02 11:53:15 -0700
  • 0a7f677b4a repo move + timeout Naitik Shah 2014-04-02 11:52:43 -0700
  • 2d7fb4c06a detect init started on startup rather than when necessary to avoid re-parenting issues. fixes #7 Naitik Shah 2014-01-06 15:15:45 +0530
  • ae84a7ab31 fix lint issues Naitik Shah 2013-11-07 10:01:43 -0800
  • fea22b9055 license and readme updates Naitik Shah 2013-11-05 17:07:08 -0800
  • bb439ce0e5 Merge pull request #6 from rubyist/master Naitik Shah 2013-11-04 08:50:03 -0800
  • 906a8cad55 Move defer outside the closure rubyist 2013-11-04 06:57:07 -0500
  • 43ccb346c3 defer the Done() call rubyist 2013-11-03 13:47:47 -0500
  • c846d177f2 make conn a pointer again rubyist 2013-11-03 13:41:56 -0500
  • 1d3eeaacf9 Use sync.Once instead of bool flag rubyist 2013-11-03 13:22:18 -0500
  • e068b65c78 Ensure that the WaitGroup isn't marked done twice when edgecase errors occurr rubyist 2013-11-03 13:03:01 -0500
  • d2b7f5f03a sigh. add sleep for now to avoid connection reset by peer issues Naitik Shah 2013-10-24 15:22:03 -0700
  • 4636466d77 grace.Process for more options and control Naitik Shah 2013-10-24 13:13:46 -0700
  • e79c66960f doc nit Naitik Shah 2013-10-24 12:33:05 -0700
  • 9aca7f00c4 stop signals before we start the graceful stop process Naitik Shah 2013-10-15 11:55:48 -0700
  • d1f693d1d4 refactor gracehttp for readability Naitik Shah 2013-10-15 11:54:28 -0700
  • aad68df4be stop signals once initial term has been processed. fixes #5 Naitik Shah 2013-10-15 10:50:08 -0700
  • 211c8342b3 use time.Now for timeInPast Naitik Shah 2013-10-07 22:57:59 -0700
  • 60b34bd164 comments Naitik Shah 2013-10-06 13:01:58 -0700
  • f5295e5b81 use defer for wg.Done to ensure its called Naitik Shah 2013-10-06 12:19:25 -0700
  • ae3f6c71a7 remove old env variable on restart Naitik Shah 2013-10-06 12:14:11 -0700
  • c0e92551f5 wtf append nil? Naitik Shah 2013-10-06 11:33:37 -0700
  • f2bbd9297e dont need to be TCP specific Naitik Shah 2013-10-06 11:25:24 -0700
  • 09bc4c424a dont throw away SetDeadline error Naitik Shah 2013-10-06 11:07:31 -0700
  • 70bbce6ad2 dont use named return variables in a strange way Naitik Shah 2013-10-06 11:05:27 -0700
  • 61aafa98f8 move inline interface out for readability Naitik Shah 2013-10-06 11:00:22 -0700
  • 220ebb1f4f use defer in conn.Close Naitik Shah 2013-10-06 10:54:16 -0700
  • e3a666a3f1 more testing and resiliency Naitik Shah 2013-10-06 10:38:28 -0700
  • d69b13103f wait after stop Naitik Shah 2013-10-06 10:01:17 -0700
  • 9a444d2674 move build out for shared builds Naitik Shah 2013-10-06 09:58:50 -0700
  • e2cfa20d82 add apache 2.0 license. closes #4 Naitik Shah 2013-10-01 09:54:56 -0700
  • 72ccd60490 fix bugs pointed out by go vet Naitik Shah 2013-09-18 17:58:04 -0700
  • f41bb0a2be handle race condition that may arise between accept and add Naitik Shah 2013-09-10 12:42:11 -0700
  • 4817bd8812 mention TLS Naitik Shah 2013-08-31 19:59:33 -0700
  • e39d448b5c use godoc instead of gowalker Naitik Shah 2013-08-21 12:29:34 -0700
  • ebaf0674d2 spelling nit Naitik Shah 2013-08-20 16:48:43 -0700
  • 57754541e7 dont drop the last connection. fixes TLS issues Naitik Shah 2013-08-20 16:23:38 -0700
  • 267d243f26 ensure correct pid when waiting for server Naitik Shah 2013-08-20 13:28:03 -0700
  • eb6bada57c connection refused errors are expectede Naitik Shah 2013-08-20 13:15:00 -0700
  • 8060336110 https support in gracehttp Naitik Shah 2013-08-20 11:29:40 -0700
  • 8711fea1ad remove last sleep in test path Naitik Shah 2013-08-19 23:12:26 -0700
  • a4481adb67 remove most unnecessary sleeps from tests Naitik Shah 2013-08-19 22:51:32 -0700
  • 2024e37361 flag for debug logging rather than const Naitik Shah 2013-08-19 15:39:03 -0700
  • 0b607a2494 mutex for h.Process mutation to prevent data races Naitik Shah 2013-08-19 15:37:41 -0700
  • 3bfe2f78ad use gowalker instead of godoc Naitik Shah 2013-05-18 10:47:59 -0700
  • 40f23f4b6f readme nit Naitik Shah 2013-05-18 10:31:19 -0700
  • 792bc8817c replace gracehttp.Handler with http.Server for maximum control Naitik Shah 2013-05-09 09:28:09 -0700
  • 6bda16a267 fix racy behavior with closing channels Naitik Shah 2013-05-08 23:23:45 -0700
  • 8f7f9df910 drop connections that come in between a close and an accept race Naitik Shah 2013-04-03 18:11:40 -0700
  • 249c1519e3 needed for go 1.0.x Naitik Shah 2013-03-27 19:36:19 -0700
  • d710f745bd also close the counter channel to raise potential data races Naitik Shah 2013-03-27 18:43:33 -0700
  • 40271cd1a7 fix data races around use of l.closed Naitik Shah 2013-03-27 18:29:36 -0700
  • 3efb5417dc readme explaining gracedemo usage Naitik Shah 2013-03-25 19:21:14 -0700
  • 95348749e8 incorrect demo comment Naitik Shah 2013-03-25 16:37:01 -0700
  • e6c599461d return on error Naitik Shah 2013-03-25 14:59:40 -0700
  • 07af98f40b include pid in sleep response Naitik Shah 2013-03-25 14:54:13 -0700
  • 308a01b46b demo code smell Naitik Shah 2013-03-25 14:51:46 -0700
  • 0109b3fb52 note about systemd compatibility in readme Naitik Shah 2013-03-25 14:46:34 -0700
  • 8b2bf35743 remove some duplication Naitik Shah 2013-03-25 14:39:26 -0700
  • d0382a39e6 realListener => FileListener Naitik Shah 2013-03-25 14:38:05 -0700
  • e40cf41eb0 attempt to fix travis issues Naitik Shah 2013-03-25 13:59:39 -0700
  • ff78530d8b docs & readme Naitik Shah 2013-03-25 13:53:07 -0700
  • 991a4f1f05 fix bug introduced with systemd compatibility Naitik Shah 2013-03-25 13:33:05 -0700
  • faf45f4e9e ensure nil return when not an error Naitik Shah 2012-09-12 11:57:20 -0700
  • 5540a9b5d3 systemd socket activation compatibility Naitik Shah 2012-09-02 21:21:19 -0700
  • c5f3993bce travis update Naitik Shah 2012-07-14 19:31:32 -0700
  • 9e606e1ce8 reckless username change Naitik Shah 2012-07-07 14:38:18 -0700
  • 06cda01027 travis ci setup Naitik Shah 2012-07-07 00:01:42 -0700
  • 7aa612785a docs and api cleanup Naitik Shah 2012-06-04 21:56:51 -0700
  • 13afde4bc1 return errors instead of fataling Naitik Shah 2012-06-04 21:32:44 -0700
  • a98138a3e6 clean repo Naitik Shah 2012-06-04 22:21:10 +0000