8

nginx ipv6、TCP_DEFER_ACCEPT

 4 years ago
source link: http://abcdxyzk.github.io/blog/2019/01/28/nignx-conf/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

nginx ipv6、TCP_DEFER_ACCEPT

2019-01-28 04:06:00

curl 7.61.1

curl 7.61.1

TCP_DEFER_ACCEPT

server {
	listen  80 deferred;
	...

deferred instructs to use a deferred accept() (the TCP_DEFER_ACCEPT socket option) on Linux.

server {
	listen  [::]:8080; # ipv6only=on;
	...

ipv6only=on|off this parameter (0.7.42) determines (via the IPV6_V6ONLY socket option) whether an IPv6 socket listening on a wildcard address [::] will accept only IPv6 connections or both IPv6 and IPv4 connections. This parameter is turned on by default. It can only be set once on start.

Prior to version 1.3.4, if this parameter was omitted then the operating system’s settings were in effect for the socket.

Posted by kk

2019-01-28 04:06:00tools, nginx

« IPv6 socket 硬盘安装windows及MBR、grub修复 »


Recommend

  • 32
    • server.51cto.com 5 years ago
    • Cache

    Nginx负载均衡之TCP/UDP流

    Nginx负载均衡之TCP/UDP流 从NGINX Plus R5[1] 版本开始可以代理和负载均衡传输控制协议(Transmission Control Protocol,TCP)通信。TCP是许多流行应用程序和服务的协议,如LDAP、MySQL和RTMP。...

  • 50
    • www.tuicool.com 5 years ago
    • Cache

    [译] TCP的SYN队列和Accept队列

    首先我们必须明白,处于“LISTENING”状态的TCP socket,有两个独立的队列: SYN队列(SYN Queue) Accept队列(Accep...

  • 41
    • network.51cto.com 5 years ago
    • Cache

    TCP的SYN队列和Accept队列

    首先我们必须明白,处于“LISTENING”状态的TCP socket,有两个独立的队列: SYN队列(SYN Queue) Accept队列(Accept Q...

  • 16
    • studygolang.com 5 years ago
    • Cache

    TCP SYN队列与Accept队列详解

    李乐 尽信书,不如无书。 纸上得来终觉浅,绝知此事要躬行。 实验现象依赖于系统(如下)以及内核参数(附录);一切以实验结果为准。 cat /proc/version Linux version 3.10.0-693.el7.x86_64

  • 11

    Nginx根据Accept-Language的简繁体支持 这个功能开启很久了,但直到昨天才发现遗漏了atom.xml…… 我想根据HTTP首部的Accept-Language决定提供简体或繁体的文件。在Chrome...

  • 3
    • abcdxyzk.github.io 4 years ago
    • Cache

    tcp选项TCP_DEFER_ACCEPT

    tcp选项TCP_DEFER_ACCEPT 2018-07-09 00:24:00 http://www.pagefault.info/?p=346 TCP_DEFER_ACCEPT这个选项可能大家都知道,不过我这里会从源码和数据包来...

  • 7

    I spent the day on Wednesday trying to run my puzzle thing on fly.io. I got part of the way there and learned a few things along the way: miscellaneous IPv6 learning I’d never really used IPv6 before, and I learned that IPv6 a...

  • 13
    • blog.ilibrary.me 3 years ago
    • Cache

    nginx tcp转发

    nginx tcp转发 欢迎转载,请支持原创,保留原文链接:blog.ilibrary.me nginx支持tcp的转发,是通过strea...

  • 16
    • caihongtengxu.github.io 3 years ago
    • Cache

    Nginx通过域名代理tcp端口

    Nginx通过域名代理tcp端口 发表于...

  • 15
    • blog.51cto.com 2 years ago
    • Cache

    yum安装的Nginx添加模块支持tcp

    yum安装的Nginx添加模块支持tcp 原创 wemux 2022-05-26 13:17:23...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK