Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
160507d0ba8d75392f631dc0ef0eecdf40c26719
/
src
/
proto_tcp.c
91b4726
MINOR: protocol: replace ctrl_type with xprt_type and clarify it
by Willy Tarreau
· Fri May 20 16:36:46 2022 +0200
030b3e6
MINOR: connection: get rid of the CO_FL_ADDR_*_SET flags
by Willy Tarreau
· Mon May 02 17:47:46 2022 +0200
158b6cf
CLEANUP: protocol: make sure the connect_* functions always receive a dst
by Willy Tarreau
· Mon May 02 17:45:12 2022 +0200
3824743
CLEANUP: tree-wide: use fd_set_nonblock() and fd_set_cloexec()
by Willy Tarreau
· Tue Apr 26 10:24:14 2022 +0200
acef5e2
MINOR: tree-wide: always consider EWOULDBLOCK in addition to EAGAIN
by Willy Tarreau
· Mon Apr 25 20:32:15 2022 +0200
88bc800
BUILD: tree-wide: avoid warnings caused by redundant checks of obj_types
by Willy Tarreau
· Mon Dec 06 07:01:02 2021 +0000
337edfd
MINOR: protocols: add a new protocol type selector
by Willy Tarreau
· Wed Oct 27 17:05:36 2021 +0200
7c4c830
BUG/MINOR: listener: add an error check for unallocatable trash
by Willy Tarreau
· Sat Oct 16 14:54:19 2021 +0200
6823a3a
MINOR: protocol: uniformize protocol errors
by Willy Tarreau
· Thu Oct 14 11:59:15 2021 +0200
3cf05cb
MINOR: proto_tcp: also report the attempted MSS values in error message
by Willy Tarreau
· Thu Oct 14 11:39:18 2021 +0200
ed17485
MINOR: proto_tcp: use chunk_appendf() to ouput socket setup errors
by Bjoern Jacke
· Tue Jan 12 19:24:43 2021 +0100
b41a6e9
MINOR: fd: move .linger_risk into fdtab[].state
by Willy Tarreau
· Tue Apr 06 17:49:19 2021 +0200
4bfc663
CLEANUP: socket: replace SOL_IP/IPV6/TCP with IPPROTO_IP/IPV6/TCP
by Willy Tarreau
· Wed Mar 31 08:45:47 2021 +0200
1b3c931
MEDIUM: connections: Introduce a new XPRT method, start().
by Olivier Houchard
· Fri Mar 05 23:37:48 2021 +0100
1eb595b
MINOR: tcp: add support for defer-accept on FreeBSD.
by David Carlier
· Sat Feb 06 12:11:11 2021 +0000
d10a200
MINOR: connection: use src addr as parameter for srv conn hash
by Amaury Denoyelle
· Thu Feb 11 19:45:19 2021 +0100
472125b
MINOR: protocol: add a pair of check_events/ignore_events functions at the ctrl layer
by Willy Tarreau
· Fri Dec 11 17:02:50 2020 +0100
427c846
MINOR: protocol: add a ->drain() function at the connection control layer
by Willy Tarreau
· Fri Dec 11 16:19:12 2020 +0100
de471c4
MINOR: protocol: add a set of ctrl_init/ctrl_close methods for setup/teardown
by Willy Tarreau
· Tue Dec 08 15:50:56 2020 +0100
b366c9a
CLEANUP: protocol: group protocol struct members by usage
by Willy Tarreau
· Tue Dec 08 14:54:20 2020 +0100
b9b2fd7
MINOR: protocol: export protocol definitions
by Willy Tarreau
· Tue Dec 08 14:13:11 2020 +0100
f9ad06c
MINOR: protocol: remove the redundant ->sock_domain field
by Willy Tarreau
· Tue Dec 08 12:13:54 2020 +0100
d1f250f
MINOR: listener: now use a generic add_listener() function
by Willy Tarreau
· Fri Dec 04 15:03:36 2020 +0100
07400c5
MINOR: listener: automatically set the port when creating listeners
by Willy Tarreau
· Fri Dec 04 14:49:11 2020 +0100
7da02dd
BUG/MINOR: listener: use sockaddr_in6 for IPv6
by Willy Tarreau
· Fri Dec 04 14:28:23 2020 +0100
a4380b2
MEDIUM: listeners: make use of fd_want_recv_safe() to enable early receivers
by Willy Tarreau
· Wed Nov 04 13:59:04 2020 +0100
59b5da4
BUG/MEDIUM: listener: never suspend inherited sockets
by Willy Tarreau
· Wed Nov 04 14:14:55 2020 +0100
a74cb38
MINOR: protocol: register the receiver's I/O handler and not the protocol's
by Willy Tarreau
· Thu Oct 15 21:29:49 2020 +0200
f1dc9f2
MINOR: sock: implement sock_accept_conn() to accept a connection
by Willy Tarreau
· Thu Oct 15 09:21:31 2020 +0200
7d053e4
MINOR: sock: rename sock_accept_conn() to sock_accepting_conn()
by Willy Tarreau
· Thu Oct 15 09:19:43 2020 +0200
2f6f362
CLEANUP: protocol: intitialize all of the sockaddr when disconnecting
by Willy Tarreau
· Wed Oct 14 10:50:41 2020 +0200
3e12de2
CLEANUP: tcp: make use of sock_accept_conn() where relevant
by Willy Tarreau
· Tue Oct 13 17:42:21 2020 +0200
2918514
MINOR: protocol: make proto_tcp & proto_uxst report listening sockets
by Willy Tarreau
· Tue Oct 13 17:26:00 2020 +0200
8b6fc3d
MINOR: proto-tcp: make use of connect(AF_UNSPEC) for the pause
by Willy Tarreau
· Tue Oct 13 16:34:19 2020 +0200
e03204c
MEDIUM: listeners: implement protocol level ->suspend/resume() calls
by Willy Tarreau
· Fri Oct 09 17:02:21 2020 +0200
7b2febd
MINOR: listeners: split do_unbind_listener() in two
by Willy Tarreau
· Fri Oct 09 17:18:29 2020 +0200
f58b8db
MEDIUM: receivers: add an rx_unbind() method in the protocols
by Willy Tarreau
· Fri Oct 09 16:32:08 2020 +0200
5ddf1ce
MINOR: protocol: add a new pair of enable/disable methods for listeners
by Willy Tarreau
· Fri Sep 25 19:27:39 2020 +0200
686fa3d
MINOR: protocol: add a new pair of rx_enable/rx_disable methods
by Willy Tarreau
· Fri Sep 25 19:09:53 2020 +0200
58e6b71
MINOR: protocol: implement an ->rx_resume() method
by Willy Tarreau
· Fri Sep 25 19:40:31 2020 +0200
cb66ea6
MINOR: protocol: replace ->pause(listener) with ->rx_suspend(receiver)
by Willy Tarreau
· Fri Sep 25 17:12:32 2020 +0200
d7f331c
MINOR: protocol: rename the ->listeners field to ->receivers
by Willy Tarreau
· Fri Sep 25 17:01:43 2020 +0200
078e1c7
CLEANUP: protocol: remove the ->enable_all method
by Willy Tarreau
· Fri Sep 25 16:45:12 2020 +0200
e53608b
MINOR: listeners: move fd_stop_recv() to the receiver's socket code
by Willy Tarreau
· Thu Sep 24 18:20:37 2020 +0200
91c614d
MEDIUM: proto_tcp: make the pause() more robust in multi-process
by Willy Tarreau
· Thu Oct 08 16:51:09 2020 +0200
a37b244
MINOR: listeners: introduce listener_set_state()
by Willy Tarreau
· Thu Sep 24 07:23:45 2020 +0200
a100003
BUG/MINOR: proto_tcp: Report warning messages when listeners are bound
by Christopher Faulet
· Wed Oct 07 11:14:47 2020 +0200
a54553f
MINOR: protocol: add the control layer type in the protocol struct
by Willy Tarreau
· Wed Sep 16 17:50:45 2020 +0200
1e984b7
CLEANUP: protocol: remove family-specific fields from struct protocol
by Willy Tarreau
· Fri Sep 04 08:23:14 2020 +0200
b0254cb
MINOR: protocol: add a new proto_fam structure for protocol families
by Willy Tarreau
· Fri Sep 04 08:07:11 2020 +0200
ad33acf
MEDIUM: protocol: do not call proto->bind() anymore from bind_listener()
by Willy Tarreau
· Wed Sep 02 18:40:02 2020 +0200
af9a7f5
MEDIUM: tcp: make use of sock_inet_bind_receiver()
by Willy Tarreau
· Tue Sep 01 16:12:50 2020 +0200
d69ce1f
MEDIUM: sock_inet: implement sock_inet_bind_receiver()
by Willy Tarreau
· Tue Sep 01 14:18:04 2020 +0200
b3580b1
MINOR: protocol: rename the ->bind field to ->listen
by Willy Tarreau
· Tue Sep 01 10:26:22 2020 +0200
c049c0d
MINOR: sock: make sock_find_compatible_fd() only take a receiver
by Willy Tarreau
· Tue Sep 01 15:20:52 2020 +0200
3fd3bdc
MINOR: receiver: move the FOREIGN and V6ONLY options from listener to settings
by Willy Tarreau
· Tue Sep 01 15:12:08 2020 +0200
43046fa
MINOR: listener: move the INHERITED flag down to the receiver
by Willy Tarreau
· Tue Sep 01 15:41:59 2020 +0200
0b91501
MINOR: receiver: add a receiver-specific flag to indicate the socket is bound
by Willy Tarreau
· Tue Sep 01 10:47:07 2020 +0200
818a92e
MINOR: listener: prefer to retrieve the socket's settings via the receiver
by Willy Tarreau
· Thu Sep 03 07:50:19 2020 +0200
b743661
REORG: listener: move the listener's proto to the receiver
by Willy Tarreau
· Fri Aug 28 19:51:44 2020 +0200
38ba647
REORG: listener: move the receiving FD to struct receiver
by Willy Tarreau
· Thu Aug 27 08:16:52 2020 +0200
3715906
REORG: listener: move the listening address to a struct receiver
by Willy Tarreau
· Thu Aug 27 07:48:42 2020 +0200
be56c10
MINOR: listener: move the network namespace to the struct settings
by Willy Tarreau
· Thu Sep 03 07:27:34 2020 +0200
7e30721
MINOR: listener: move the interface to the struct settings
by Willy Tarreau
· Thu Sep 03 07:23:34 2020 +0200
e26993c
MINOR: listener: move bind_proc and bind_thread to struct settings
by Willy Tarreau
· Thu Sep 03 07:18:55 2020 +0200
576a633
CLEANUP: protocol: remove all ->bind_all() and ->unbind_all() functions
by Willy Tarreau
· Tue Sep 01 18:54:13 2020 +0200
37bafdc
MINOR: sock_inet: move the IPv4/v6 transparent mode code to sock_inet
by Willy Tarreau
· Fri Aug 28 17:23:40 2020 +0200
2d34a71
MINOR: sock: implement sock_find_compatible_fd()
by Willy Tarreau
· Fri Aug 28 16:49:41 2020 +0200
e5bdc51
REORG: sock_inet: move default_tcp_maxseg from proto_tcp.c
by Willy Tarreau
· Fri Aug 28 18:03:10 2020 +0200
d88e8c0
REORG: sock_inet: move v6only_default from proto_tcp.c to sock_inet.c
by Willy Tarreau
· Fri Aug 28 16:06:01 2020 +0200
25140cc
REORG: inet: replace tcp_is_foreign() with sock_inet_is_foreign()
by Willy Tarreau
· Fri Aug 28 15:40:33 2020 +0200
c5a94c9
MINOR: sock_inet: implement sock_inet_get_dst()
by Willy Tarreau
· Fri Aug 28 15:19:45 2020 +0200
f172558
MINOR: tcp/udp/unix: make use of proto->addrcmp() to compare addresses
by Willy Tarreau
· Fri Aug 28 15:30:11 2020 +0200
18b7df7
REORG: sock: start to move some generic socket code to sock.c
by Willy Tarreau
· Fri Aug 28 12:07:22 2020 +0200
de70ca5
REORG: tcp: move TCP bind/server keywords from proto_tcp.c to cfgparse-tcp.c
by Willy Tarreau
· Fri Aug 28 11:49:31 2020 +0200
8987e7a
REORG: tcp: move TCP sample fetches from proto_tcp.c to tcp_sample.c
by Willy Tarreau
· Fri Aug 28 11:37:21 2020 +0200
478331d
CLEANUP: tcp: stop exporting smp_fetch_src()
by Willy Tarreau
· Fri Aug 28 11:31:31 2020 +0200
aeae66c
REORG: tcp: move TCP actions from proto_tcp.c to tcp_act.c
by Willy Tarreau
· Fri Aug 28 11:03:28 2020 +0200
bb1caff
MINOR: fd: add a new "exported" flag and use it for all regular listeners
by Willy Tarreau
· Wed Aug 19 10:00:57 2020 +0200
bf3b06b
MINOR: reload: determine the foreing binding status from the socket
by Willy Tarreau
· Wed Aug 26 10:23:40 2020 +0200
bca5a4e
BUG/MINOR: reload: detect the OS's v6only status before choosing an old socket
by Willy Tarreau
· Wed Aug 26 09:29:21 2020 +0200
bbb284d
MINOR: tcp: don't try to set/clear v6only on inherited sockets
by Willy Tarreau
· Wed Aug 26 10:21:06 2020 +0200
6ad7df4
MINOR: arg: Use chunk_destroy() to release string arguments
by Christopher Faulet
· Fri Aug 07 11:45:18 2020 +0200
8dbd1a2
MINOR: connection: avoid a useless recvfrom() on outgoing connections
by Willy Tarreau
· Fri Jul 31 08:59:09 2020 +0200
21ddc74
MINOR: connection: Add a wrapper to mark a connection as private
by Christopher Faulet
· Wed Jul 01 15:26:14 2020 +0200
5254321
BUILD: tcp: condition TCP keepalive settings to platforms providing them
by Willy Tarreau
· Thu Jul 09 05:58:51 2020 +0200
b24bc0d
MINOR: tcp: Support TCP keepalive parameters customization
by MIZUTA Takeshi
· Thu Jul 09 11:13:20 2020 +0900
46a030c
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sun Jul 05 16:36:08 2020 +0500
47d1718
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sun Jun 21 21:42:57 2020 +0500
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· Tue Jun 09 09:07:15 2020 +0200
dfd3de8
REORG: include: move stream.h to haproxy/stream{,-t}.h
by Willy Tarreau
· Thu Jun 04 23:46:14 2020 +0200
1e56f92
REORG: include: move server.h to haproxy/server{,-t}.h
by Willy Tarreau
· Thu Jun 04 23:20:13 2020 +0200
a264d96
REORG: include: move proxy.h to haproxy/proxy{,-t}.h
by Willy Tarreau
· Thu Jun 04 22:29:18 2020 +0200
aeed4a8
REORG: include: move log.h to haproxy/log{,-t}.h
by Willy Tarreau
· Thu Jun 04 22:01:04 2020 +0200
c2b1ff0
REORG: include: move http_ana.h to haproxy/http_ana{,-t}.h
by Willy Tarreau
· Thu Jun 04 21:21:03 2020 +0200
f1d32c4
REORG: include: move channel.h to haproxy/channel{,-t}.h
by Willy Tarreau
· Thu Jun 04 21:07:02 2020 +0200
7ea393d
REORG: include: move connection.h to haproxy/connection{,-t}.h
by Willy Tarreau
· Thu Jun 04 18:02:10 2020 +0200
8b550af
REORG: include: move tcp_rules.h to haproxy/tcp_rules.h
by Willy Tarreau
· Thu Jun 04 17:42:48 2020 +0200
fc77454
REORG: include: move proto_tcp.h to haproxy/proto_tcp.h
by Willy Tarreau
· Thu Jun 04 17:31:04 2020 +0200
cea0e1b
REORG: include: move task.h to haproxy/task{,-t}.h
by Willy Tarreau
· Thu Jun 04 17:25:40 2020 +0200
Next »