Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
167e1eb7c7860d516210a81ea46f1b78ad338d1d
/
src
/
peers.c
0f6ffd6
REORG: include: move fd.h to haproxy/fd{,-t}.h
by Willy Tarreau
· Wed Jun 03 19:33:00 2020 +0200
3afc4c4
REORG: include: move dict.h to hparoxy/dict{,-t}.h
by Willy Tarreau
· Wed Jun 03 18:23:19 2020 +0200
48fbcae
REORG: tools: split common/standard.h into haproxy/tools{,-t}.h
by Willy Tarreau
· Wed Jun 03 18:09:46 2020 +0200
6131d6a
REORG: include: move common/net_helper.h to haproxy/net_helper.h
by Willy Tarreau
· Tue Jun 02 16:48:09 2020 +0200
92b4f13
REORG: include: move time.h from common/ to haproxy/
by Willy Tarreau
· Mon Jun 01 11:05:15 2020 +0200
3f567e4
REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h
by Willy Tarreau
· Thu May 28 15:29:19 2020 +0200
4c7e4b7
REORG: include: update all files to use haproxy/api.h or api-t.h if needed
by Willy Tarreau
· Wed May 27 12:58:42 2020 +0200
530ba38
BUG/MINOR: peers: fix internal/network key type mapping.
by Emeric Brun
· Tue Jun 02 11:17:42 2020 +0200
c02a23f
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Wed May 06 00:53:22 2020 +0500
70de43b
BUG/MEDIUM: peers: resync ended with RESYNC_PARTIAL in wrong cases.
by Emeric Brun
· Mon Mar 16 10:51:01 2020 +0100
52bf839
BUG/MEDIUM: random: implement a thread-safe and process-safe PRNG
by Willy Tarreau
· Sun Mar 08 00:42:37 2020 +0100
0fbf28a
Revert "BUG/MEDIUM: random: implement per-thread and per-process random sequences"
by Willy Tarreau
· Sat Mar 07 11:24:39 2020 +0100
1c306aa
BUG/MEDIUM: random: implement per-thread and per-process random sequences
by Willy Tarreau
· Fri Mar 06 19:04:55 2020 +0100
6cde5d8
CLEANUP: stick-tables: use read_u32() to display a node's key
by Willy Tarreau
· Tue Feb 25 09:41:22 2020 +0100
d02ffe9
CLEANUP: peers: Remove unused static function `free_dcache_tx`
by Tim Duesterhus
· Wed Feb 05 23:37:15 2020 +0100
10ce0c2
CLEANUP: peers: Remove unused static function `free_dcache`
by Tim Duesterhus
· Wed Feb 05 17:22:02 2020 +0100
3585cab
BUG/MINOR: peers: "peer alive" flag not reset when deconnecting.
by Frédéric Lécaille
· Wed Nov 20 11:17:30 2019 +0100
af9990f
BUG/MINOR: peers: Wrong null "server_name" data field handling.
by Frédéric Lécaille
· Wed Nov 13 17:50:34 2019 +0100
ec1c10b
MINOR: peers: Add debugging information to "show peers".
by Frédéric Lécaille
· Thu Nov 07 15:22:33 2019 +0100
33cab3c
MINOR: peers: Add TX/RX heartbeat counters.
by Frédéric Lécaille
· Wed Nov 06 11:51:26 2019 +0100
470502b
MINOR: peers: Alway show the table info for disconnected peers.
by Frédéric Lécaille
· Wed Nov 06 10:41:03 2019 +0100
9d00869
CLEANUP: cli: replace all occurrences of manual handling of return messages
by Willy Tarreau
· Fri Aug 09 11:21:01 2019 +0200
02efeda
MINOR: peers: now remove the remote connection setup code
by Willy Tarreau
· Thu Jul 18 17:21:24 2019 +0200
1c8d32b
MAJOR: stream: store the target address into s->target_addr
by Willy Tarreau
· Thu Jul 18 15:47:45 2019 +0200
ca79f59
MEDIUM: connection: make sure all address producers allocate their address
by Willy Tarreau
· Wed Jul 17 19:04:47 2019 +0200
3ca1490
MINOR: peers: use conn->dst for the peer's target address
by Willy Tarreau
· Wed Jul 17 14:53:15 2019 +0200
8dfffdb
MINOR: stream/cli: use conn_get_{src,dst} in "show sess" and "show peers" output
by Willy Tarreau
· Wed Jul 17 11:44:11 2019 +0200
711ed6a
MAJOR: http: Remove the HTTP legacy code
by Christopher Faulet
· Tue Jul 16 14:16:10 2019 +0200
b65717f
MINOR: peers: Optimization for dictionary cache lookup.
by Frédéric Lécaille
· Fri Jun 07 14:25:25 2019 +0200
fd82793
MINOR: peers: A bit of optimization when encoding cached server names.
by Frédéric Lécaille
· Fri Jun 07 10:34:04 2019 +0200
6c39198
MINOR peers: data structure simplifications for server names dictionary cache.
by Frédéric Lécaille
· Thu Jun 06 11:34:03 2019 +0200
237f8ae
BUILD: peers: fix a build warning about an incorrect intiialization
by Willy Tarreau
· Thu Jun 06 16:40:43 2019 +0200
56aec0d
BUG/MINOR: peers: Wrong server name parsing.
by Frédéric Lécaille
· Thu Jun 06 14:14:15 2019 +0200
344e948
BUG/MINOR: peers: Wrong "server_name" decoding.
by Frédéric Lécaille
· Wed Jun 05 10:20:09 2019 +0200
36fb77e
MINOR: peers: Replace hard-coded values for peer protocol messaging by macros.
by Frédéric Lécaille
· Tue Jun 04 08:28:19 2019 +0200
32b5573
MINOR: peers: Replace hard-coded for peer protocol 64-bits value encoding by macros.
by Frédéric Lécaille
· Mon Jun 03 18:29:51 2019 +0200
62b0b0b
MINOR: peers: Add dictionary cache information to "show peers" CLI command.
by Frédéric Lécaille
· Wed May 29 16:20:41 2019 +0200
8d78fa7
MINOR: peers: Make peers protocol support new "server_name" data type.
by Frédéric Lécaille
· Mon May 20 18:22:52 2019 +0200
74167b2
MINOR: peers: Add a LRU cache implementation for dictionaries.
by Frédéric Lécaille
· Tue May 28 19:02:42 2019 +0200
0e8db97
BUG/MINOR: peers: Wrong stick-table update message building.
by Frédéric Lécaille
· Fri May 24 14:34:34 2019 +0200
3914334
CLEANUP: peers: Replace hard-coded values by macros.
by Frédéric Lécaille
· Fri May 24 14:32:27 2019 +0200
7fcc24d
MINOR: peers: Do not emit global stick-table names.
by Frédéric Lécaille
· Wed Mar 20 15:09:45 2019 +0100
0bbec0f
MINOR: peers: adds counters on show peers about tasks calls.
by Emeric Brun
· Thu Apr 18 11:39:43 2019 +0200
3f795f7
MEDIUM: tasks: Merge task_delete() and task_free() into task_destroy().
by Olivier Houchard
· Wed Apr 17 22:51:06 2019 +0200
95679dc
MINOR: peers: Add a new command to the CLI for peers.
by Frédéric Lécaille
· Mon Apr 15 10:25:27 2019 +0200
9ef2ad7
BUG/MEDIUM: peers: fix a case where peer session is not cleanly reset on release.
by Emeric Brun
· Tue Apr 02 17:22:01 2019 +0200
b7405c1
BUG/MINOR: peers: Missing initializations after peer session shutdown.
by Frédéric Lécaille
· Wed Mar 27 14:32:39 2019 +0100
54bff83
CLEANUP: peers: replace timeout constants by macros.
by Frédéric Lécaille
· Tue Mar 26 10:25:20 2019 +0100
aba44a2
CLEANUP: peers: remove useless annoying tabulations.
by Frédéric Lécaille
· Tue Mar 26 10:18:07 2019 +0100
045e0d4
BUG/MINOR: peers: Really close the sessions with no heartbeat.
by Frédéric Lécaille
· Thu Mar 21 11:12:32 2019 +0100
ed87989
MEDIUM: peers: Use the new _HA_ATOMIC_* macros.
by Olivier Houchard
· Fri Mar 08 18:53:43 2019 +0100
645635d
MINOR: peers: Add a message for heartbeat.
by Frédéric Lécaille
· Mon Feb 11 17:49:39 2019 +0100
a8cf66b
MINOR: listener: do not needlessly set l->maxconn
by Willy Tarreau
· Wed Feb 27 16:49:00 2019 +0100
9bdd7bc
BUILD/MINOR: peers: remove an impossible null test in intencode()
by Willy Tarreau
· Tue Feb 12 11:59:35 2019 +0100
ef60ff3
BUG/MEDIUM: peers: Handle mux creation failure.
by Olivier Houchard
· Tue Jan 29 19:00:33 2019 +0100
6254a92
BUILD/MINOR: peers: shut up a build warning introduced during last cleanup
by Willy Tarreau
· Tue Jan 29 17:45:23 2019 +0100
6f731f3
CLEANUP: peers: factor error handling in peer_treat_definedmsg()
by Willy Tarreau
· Tue Jan 29 11:11:23 2019 +0100
1e82a14
CLEANUP: peers: factor the error handling code in peer_treet_updatemsg()
by Willy Tarreau
· Tue Jan 29 11:08:06 2019 +0100
4b2fd9b
MINOR: peers: move peer initializations code to reduce the size of the I/O handler.
by Frédéric Lécaille
· Fri Jan 25 08:58:41 2019 +0100
3f0fb9d
MINOR: peers: move "hello" message treatment code to reduce the size of the I/O handler.
by Frédéric Lécaille
· Fri Jan 25 08:30:29 2019 +0100
be825e5
CLEANUP: peers: Remove useless statements.
by Frédéric Lécaille
· Thu Jan 24 18:28:44 2019 +0100
25e1d5e
MINOR: peers: move send code to reduce the size of the I/O handler.
by Frédéric Lécaille
· Thu Jan 24 17:33:48 2019 +0100
444243c
MINOR: peers: move messages treatment code to reduce the size of the I/O handler.
by Frédéric Lécaille
· Thu Jan 24 15:40:11 2019 +0100
7d0ceee
MINOR: peers: move error handling to reduce the size of the I/O handler.
by Frédéric Lécaille
· Thu Jan 24 14:24:05 2019 +0100
d5fe14b
CLEANUP: peers: Be more generic.
by Frédéric Lécaille
· Thu Jan 24 10:33:40 2019 +0100
95203f2
MINOR: peers: Move high level receive code to reduce the size of I/O handler.
by Frédéric Lécaille
· Wed Jan 23 19:38:11 2019 +0100
d27b094
MINOR: peers: Move ack, switch and definition receive code to reduce the size of the I/O handler.
by Frédéric Lécaille
· Wed Jan 23 17:31:37 2019 +0100
168a34b
MINOR: peers: Move update receive code to reduce the size of the I/O handler.
by Frédéric Lécaille
· Wed Jan 23 11:16:57 2019 +0100
6a8303d
MEDIUM: peers: synchronizaiton code factorization to reduce the size of the I/O handler.
by Frédéric Lécaille
· Tue Jan 22 22:25:17 2019 +0100
87f554c
MINOR: peers: Add new functions to send code and reduce the I/O handler.
by Frédéric Lécaille
· Tue Jan 22 17:26:50 2019 +0100
ec44ea8
MINOR: peers: send code factorization.
by Frédéric Lécaille
· Tue Jan 22 15:54:53 2019 +0100
a8725ec
CLEANUP: peers: Indentation fixes.
by Frédéric Lécaille
· Tue Jan 22 10:31:39 2019 +0100
ce02557
MINOR: peers: Extract some code to be reused.
by Frédéric Lécaille
· Mon Jan 21 13:38:06 2019 +0100
1055e68
MINOR: peers: Make outgoing connection to SSL/TLS peers work.
by Frédéric Lécaille
· Thu Apr 26 14:35:21 2018 +0200
c06b5d4
MINOR: cfgparse: Make "peer" lines be parsed as "server" lines.
by Frédéric Lécaille
· Thu Apr 26 10:06:41 2018 +0200
f502aca
MEDIUM: mux: provide the session to the init() and attach() method.
by Olivier Houchard
· Fri Dec 14 19:42:40 2018 +0100
82b2f54
CLEANUP: Fix typos in the peers subsystem
by Joseph Herlant
· Thu Nov 15 12:19:14 2018 -0800
db39843
MINOR: stream-int: replace si_cant_put() with si_rx_room_{blk,rdy}()
by Willy Tarreau
· Thu Nov 15 11:08:52 2018 +0100
0cd3bd6
MINOR: stream-int: rename si_applet_{want|stop|cant}_{get|put}
by Willy Tarreau
· Tue Nov 06 18:46:37 2018 +0100
2d372c2
MINOR: stats: report the number of currently connected peers
by Willy Tarreau
· Mon Nov 05 17:12:27 2018 +0100
199ad24
MINOR: stats: report the number of active peers in "show info"
by Willy Tarreau
· Mon Nov 05 16:31:22 2018 +0100
086735a
BUG/MINOR: tasks: make sure wakeup events are properly reported to subscribers
by Willy Tarreau
· Mon Nov 05 15:09:47 2018 +0100
3399226
MINOR: peers: use defines instead of enums to appease clang.
by Olivier Houchard
· Tue Oct 16 18:49:26 2018 +0200
d944344
BUILD: peers: check allocation error during peers_init_sync()
by Willy Tarreau
· Mon Oct 15 11:18:03 2018 +0200
175a2bb
MINOR: connection: pass the proxy when creating a connection
by Willy Tarreau
· Wed Sep 12 12:02:05 2018 +0200
35b51c6
REORG: http: move the HTTP semantics definitions to http.h/http.c
by Willy Tarreau
· Mon Sep 10 15:38:55 2018 +0200
be37315
MINOR: connection: make the initialization more consistent
by Willy Tarreau
· Thu Sep 06 11:45:30 2018 +0200
83061a8
MAJOR: chunks: replace struct chunk with struct buffer
by Willy Tarreau
· Fri Jul 13 11:56:34 2018 +0200
843b7cb
MEDIUM: chunks: make the chunk struct's fields match the buffer struct
by Willy Tarreau
· Fri Jul 13 10:54:26 2018 +0200
c9fa048
MAJOR: buffer: finalize buffer detachment
by Willy Tarreau
· Tue Jul 10 17:43:27 2018 +0200
9f6af33
MINOR: tasks: Change the task API so that the callback takes 3 arguments.
by Olivier Houchard
· Fri May 25 14:04:04 2018 +0200
5548291
BUG/MEDIUM: peers: fix expire date wasn't updated if entry is modified remotely.
by Emeric Brun
· Mon Jan 22 15:10:08 2018 +0100
dbd0267
BUG/MEDIUM: peers: set NOLINGER on the outgoing stream interface
by Willy Tarreau
· Wed Dec 06 17:39:53 2017 +0100
088c9b7
BUG/MAJOR: thread/peers: fix deadlock on peers sync.
by Emeric Brun
· Fri Dec 01 11:37:36 2017 +0100
cea8537
BUG/MEDIUM: threads/peers: decrement, not increment jobs on quitting
by Willy Tarreau
· Wed Nov 29 14:49:30 2017 +0100
bafbe01
CLEANUP: pools: rename all pool functions and pointers to remove this "2"
by Willy Tarreau
· Fri Nov 24 17:34:44 2017 +0100
767a84b
CLEANUP: log: Rename Alert/Warning in ha_alert/ha_warning
by Christopher Faulet
· Fri Nov 24 16:50:31 2017 +0100
2a944ee
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix
by Christopher Faulet
· Tue Nov 07 10:42:54 2017 +0100
f2fc1fd
BUG/MINOR: freq: fix infinite loop on freq_ctr_period.
by Emeric Brun
· Thu Nov 02 17:32:43 2017 +0100
9aaf778
MAJOR: connection : Split struct connection into struct connection and struct conn_stream.
by Olivier Houchard
· Wed Sep 13 18:30:23 2017 +0200
Next »