Commit Graph

34 Commits (227c751abce707766286093884868b1b63288ff3)

Author SHA1 Message Date
kiyon 227c751abc 🌼 separate different logic on each OS for child process to watch if master process exits 2020-07-17 06:51:57 +08:00
kiyon 30a704b5f9 👷 improve test coverage 2020-07-16 16:42:36 +08:00
Fenny 9275592a51 🩹 Fix Prefork Test 2020-07-15 15:20:10 +02:00
Fenny d66d6a9cd5 🩹 Fix prefork test case 2020-07-15 15:16:43 +02:00
Fenny a08de07fd5 🩹 Fix prefork test case 2020-07-15 15:15:23 +02:00
Fenny 7fc4b37dfb 🩹 Fix prefork test 2020-07-15 15:10:59 +02:00
Fenny fd1c01ddfa Merge remote-tracking branch 'upstream/master' 2020-07-15 14:28:04 +02:00
Fenny 9125080df2 Merge remote-tracking branch 'upstream/master' 2020-07-15 14:24:59 +02:00
kiyon 1499e2beb2 💯 cover prefork error statement 2020-07-15 15:13:02 +08:00
kiyon efec24a7fc change dummy cmd to date 2020-07-15 10:56:17 +08:00
kiyon b0e3979437 👍 improve prefork test coverage 2020-07-15 10:37:57 +08:00
Fenny 600e6dccdb 🏹 Use Fasthttp reuseport package 2020-07-15 01:21:38 +02:00
Fenny 883882fd0b 🔌 Use ppid to close child procs 2020-07-14 16:21:22 +02:00
Fenny 20cba2604b 🔌 Add IPv6 support
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-14 03:53:58 +02:00
Fenny b8fbaca1ea 🔌 Add IPv6 Support
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-14 03:02:26 +02:00
Fenny 89c7d8dc56 👶 Kill child procs on pid kill
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-14 02:36:22 +02:00
Fenny fe826a782d 👶 Close child procs when PID gets killed 2020-07-14 02:35:35 +02:00
Fenny 80cd53d32f 🗃 Update for golint 2020-07-13 15:43:30 +02:00
songjiayang 4ef6f9b0e1 Update for golint 2020-07-13 10:47:14 +08:00
kiyon 7881df4b8c 👷 Change global variables into const 2020-07-12 07:22:55 +08:00
kiyon ee4ffddb90 💌 replace prefork child flag with prefork child env 2020-07-11 08:30:03 +08:00
Fenny 0fd57d134d 📦 Detect Child process
Co-Authored-By: kiyon <kiyonlin@163.com>
Co-Authored-By: Nathaniel Peiffer <nathaniel@peiffer.com.au>
2020-07-10 11:43:08 +02:00
Fenny 5df26c4647 📦 Detect Child process
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-10 11:16:53 +02:00
Fenny 9b630585c4 📃 Fix typo 2020-07-06 17:10:31 +02:00
doingodswork 081a44323d Fix build breaking with Go 1.11
strings.ReplaceAll is only supported in Go 1.12 and newer.
2020-07-04 18:42:52 +02:00
doingodswork a092d0d40a Improve flag handling
1. Don't define the prefork flag
2. Don't expose the prefork-child flag in the flag usage message
2020-07-04 16:17:27 +02:00
Fenny af474e28bb Localize reuseport logic 2020-07-03 15:16:11 +02:00
Fenny c465c31620 Update prefork 2020-07-02 08:59:51 +02:00
Fenny 7dbd98091e Update SO_REUSEADDR 2020-07-02 08:51:18 +02:00
Fenny 518902d611 Bump utils v0.0.9 2020-07-01 01:24:16 +02:00
Fenny ec51458940 Add memory info 2020-06-27 04:22:22 +02:00
Fenny badb45779f Update startup message 2020-06-25 22:48:49 +02:00
Fenny 033e009212 Fix gosec warning 2020-06-25 15:59:45 +02:00
Fenny 3bdbc53d17 Separate Prefork logic 2020-06-25 15:42:50 +02:00