Commit Graph

101 Commits

Author SHA1 Message Date
fengbojiang 783fc174b2 Nginx's stream support transparent.
Also support kernel network stack while set
`proxy_kernel_network_stack on`.
2024-10-15 14:49:21 +08:00
fengbojiang 19b67af558 gettimeofday automatically compatible with different glibc versions. 2023-10-19 16:48:44 +08:00
jfb8856606 bcbb047645 Remove app/nginx1.16.1. 2023-09-13 08:13:14 +00:00
fengbojiang c31da49915 Add IPV6_DONTFRAG define in nginx-1.25.2/auto/unix, In order to support linux kernel versions earlier than 3.14. 2023-09-06 21:23:39 +08:00
用jfb8856606 d2fe88ce5e Add executable permissions to configure of nginx-1.25.2. 2023-09-06 12:48:44 +00:00
fengbojiang 33903b65de Fix some issues of HTTP/3 in nginx-1.25.2. 2023-09-05 20:38:05 +08:00
fengbojiang 05b573ded1 Add nginx-1.25.2 to support HTTP3.
Build passed, to be tested.
2023-09-01 16:20:49 +08:00
Jiajie Chen 15450d6666 Fix netmask in nginx conf
Reported by @JisonRWang in #754.
2023-05-31 14:56:59 +08:00
fengbojiang f52469fde1 move /app/micro_thread to adapter/micro_thread. 2023-05-03 17:06:40 +08:00
fengbojiang c0cab32e5f remove some wrong characters. 2023-03-31 10:23:48 +08:00
fengbojiang c35e5fda17 Fix Compile Error with gcc 11.3.0(in Ubuntu 22.04). Close #736. 2023-02-16 15:14:27 +08:00
fengbojiang e14457fdc5 Redis can listen IPv6 address. 2023-02-15 18:18:09 +08:00
用jfb8856606 7616fe14b6 Redis: upgrade to redis-6.2.6. 2022-09-02 02:55:00 +00:00
fengbojiang 64c543441e fix kqueue can't add multi event onetime, modify struct event fromm freebsd11 to freebsd13. 2021-10-18 19:36:31 +08:00
fengbojiang 4093ffd426 Update LICENCE. 2021-09-18 16:05:45 +08:00
fengbojiang e426931965 Upgrade f-stack.conf in Nginx. 2021-03-08 15:43:59 +08:00
fengbojiang 7b8cf09355 Support DPDK 20.11.0(LTS). 2021-03-06 19:18:57 +08:00
Hawker b2b09b1a1e Bug:CLR_FD_BIT is undefined 2021-03-06 19:18:52 +08:00
Xin Wang b5a6261dce Fix compile error of micro_thread with gcc 8.3. 2021-03-06 19:18:50 +08:00
fengbojiang 3a84cd1fec User APP can use AF_INET6/PF_INET6 directly whether call ff socket or linux API, such as inet_ntoa/inet_aton. 2020-09-03 01:35:22 +08:00
woolen 9e6862fd87 add_micro_thread_auto_adjust_thread_cnt 2019-12-26 16:59:57 +08:00
fengbojiang 263ae019b0 Redis: remvoe redis-3.2.8. 2019-11-23 11:08:39 +08:00
fengbojiang(姜凤波) 363b08a7ac Add executable permissions to configure of nginx-1.16.1. 2019-11-19 17:30:18 +08:00
root 7036eca02d Add `configure` of jemalloc depend by redis. 2019-11-14 19:55:29 +08:00
fengbojiang e3de2f8891 Redis: Redis-5.0.5 supported.
Fixed #352 #368
2019-11-14 19:04:14 +08:00
fengbojiang(姜凤波) 9750a51d53 Nginx: remove app/nginx-1.11.10. 2019-10-31 16:40:49 +08:00
fengbojiang(姜凤波) ca4eb0b672 Nginx: upgrade to 1.16.1 for HTTP/2(CVE-2019-9511, CVE-2019-9513, CVE-2019-9516) 2019-10-29 19:25:56 +08:00
JianJianChen f4d8f17300 fix a bug, [alert] 10485#0: *3 sendmsg() failed (92: Protocol not available) while proxying and sending to client, udp client 2019-09-09 13:33:26 +08:00
fengbojiang(姜凤波) e064dbd16a IPv6: Nginx supportted ipv6, but not incloud bind to host. 2019-08-09 17:48:41 +08:00
jfb8856606 a2f2939ed6 modify permission of nginx-1.16.0's configure. 2019-07-01 19:42:57 +08:00
jfb8856606 2072c5b8e1 modify `nginx.conf`'s default config to response date directly, not file. 2019-07-01 19:24:53 +08:00
jfb8856606 ea837b1efb add `make install` and `make uninstall` in f-tack's lib and tools, refer #396 2019-07-01 19:18:54 +08:00
fengbojiang(姜凤波) 64558078c7 Nginx: add nginx1.16.0 that support TLSv1.3, refer #340. 2019-06-28 15:29:30 +08:00
chenwei 3b18e987d1 Nginx: fixbug, support "master_process off". 2018-11-06 12:51:46 +08:00
chenwei bbae7c2f78 Nginx: fixbug, stack-buffer-overflow, refer to #286. 2018-11-06 12:06:29 +08:00
10077240 37324d912f FreeBSD define IP_BINDANY in freebsd/netinet/in.h
Fstack should only support IP_BINDANY.
2018-10-23 15:18:03 +08:00
fengbojiang 1c1eafbf32 fix a typo 2018-08-16 16:25:57 +08:00
10077240 b43e0dde49 replace __linux__ with HAVE_FF_KQUEUE
Only f-stack redis server need bind cpu,  and forked process will inherit it.
2018-08-09 07:16:44 +08:00
10077240 9518765b1f reset cpu affinity when new process forked.
New forked process should not compete same core with redis server.
2018-08-08 07:40:39 +08:00
fengbojiang efb6796dac Fix #251:Compiling errors on Ubuntu.
On Ubuntu 16.04/18.04, fixed compile error with -Wunused-result
and -Wimplicit-fallthrough.
2018-07-23 18:22:09 +08:00
fengbojiang(姜凤波) 5c6bf25f18 Fixed redis' compile error of 'struct timespec' when use gcc7.3.0 on ubuntu 18.04. 2018-07-10 16:08:05 +08:00
whl739 524e801cfb Nginx: hijack `shutdown`.
Fix typo in previous commit.
2018-06-21 17:25:56 +08:00
whl739 a29bb116db Nginx: hijack `shutdown`.
In some cases, nginx will call `ngx_shutdown_socket`, so we need to hijack `shutdown`.
2018-06-21 17:22:59 +08:00
chenwei 4e4a28b584 Nginx: fixbug, hijack `getpeername` and `getsockname`. 2018-05-27 12:29:26 +08:00
logwang 2bfe3f2e55 DPDK: upgrade to 17.11.2 LTS.
Changes:
1. This version is downloaded from
https://fast.dpdk.org/rel/dpdk-17.11.2.tar.xz.
2. Adapt the new interface `rte_ring_dequeue_burst`.
3. Change the type of `port_id` from uint8_t to uint16_t.
4. Just link libdpdk.a instead of the other libaries.
5. Install libnuma-dev first.
6. Update the documents.
2018-05-15 17:49:22 +08:00
chenwei 0eb653e5ef Nginx: fixbug, support `NGX_PROCESS_HELPER` .e.g cache, refer to #142 2018-05-04 17:02:02 +08:00
chenwei bc0822cf2e Nginx: fixbug, hijack `__recv_chk`.
Nginx maybe call `__recv_chk` with https because of _FORTIFY_SOURCE.
Refer to #179.
See _FORTIFY_SOURCE (since glibc 2.3.4)
2018-04-16 18:52:58 +08:00
chenwei bcb122a7a7 Nginx: bugfix, shouldnot pollute `socket type` 2018-04-10 17:28:10 +08:00
chenwei 9012784489 Nginx: some logs are no longer needed on nginx-fstack. 2018-04-09 15:42:21 +08:00
陈威 b62e74d7c3 Nginx : a more friendly hint
If the f-stack primary process hasn't been initialized successful, the nginx master gives a more friendly hint.
2018-03-22 15:41:17 +08:00