Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
6bf06727116eb48825cf4c4b65970b8305591925
/
src
/
checks.c
37d7897
BUG/MEDIUM: checks: Only attempt to do handshakes if the connection is ready.
by Olivier Houchard
· 4 years, 10 months ago
c8dc20a
BUG/MINOR: checks: refine which errno values are really errors.
by Willy Tarreau
· 4 years, 10 months ago
aebeff7
BUG/MEDIUM: checks: Make sure we set the task affinity just before connecting.
by Olivier Houchard
· 5 years ago
d96f112
MEDIUM: init: prevent process and thread creation at runtime
by Willy Tarreau
· 5 years ago
0f0393f
BUG/MEDIUM: checks: make sure the connection is ready before trying to recv
by Willy Tarreau
· 5 years ago
ff1e9f3
MEDIUM: tasklets: Make the tasklet list a struct mt_list.
by Olivier Houchard
· 5 years ago
6dd4ac8
BUG/MEDIUM: check/threads: make external checks run exclusively on thread 1
by Willy Tarreau
· 5 years ago
c594039
BUG/MINOR: checks: do not uselessly poll for reads before the connection is up
by Willy Tarreau
· 5 years ago
4c1a2b3
BUG/MINOR: checks: make __event_chk_srv_r() report success before closing
by Willy Tarreau
· 5 years ago
cc705a6
BUG/MINOR: checks: start sending the request right after connect()
by Willy Tarreau
· 5 years ago
5909380
BUG/MINOR: checks: stop polling for write when we have nothing left to send
by Willy Tarreau
· 5 years ago
5488a62
BUG/MEDIUM: checks: make sure to close nicely when we're the last to speak
by Willy Tarreau
· 5 years ago
ef91c93
BUG/MEDIUM: tcp-checks: do not dereference inexisting conn_stream
by Willy Tarreau
· 5 years ago
ca79f59
MEDIUM: connection: make sure all address producers allocate their address
by Willy Tarreau
· 5 years ago
b3c81cb
MINOR: checks: replace conn->addr.to with conn->dst
by Willy Tarreau
· 5 years ago
2ab5c38
BUG/MINOR: checks: do not exit tcp-checks from the middle of the loop
by Willy Tarreau
· 5 years ago
0ba6c85
BUG/MEDIUM: checks: Don't attempt to receive data if we already subscribed.
by Olivier Houchard
· 5 years ago
7df8ca6
BUG/MEDIUM: tcp-check: unbreak multiple connect rules again
by Willy Tarreau
· 5 years ago
bc89ad8
BUG/MEDIUM: checks: Don't attempt to read if we destroyed the connection.
by Olivier Houchard
· 5 years ago
f494957
BUG/MEDIUM: checks: Make sure the tasklet won't run if the connection is closed.
by Olivier Houchard
· 5 years ago
6c7e96a
BUG/MEDIUM: connections: Always call shutdown, with no linger.
by Olivier Houchard
· 5 years ago
2df8cad
BUG/MEDIUM: checks: unblock signals in external checks
by Willy Tarreau
· 5 years ago
86eded6
CLEANUP: tasks: rename task_remove_from_tasklet_list() to tasklet_remove_*
by Willy Tarreau
· 5 years ago
3c39a7d
CLEANUP: connection: rename the wait_event.task field to .tasklet
by Willy Tarreau
· 5 years ago
fe50bfb
MEDIUM: connections: Introduce a handshake pseudo-XPRT.
by Olivier Houchard
· 5 years ago
4906554
MEDIUM: checks: Make sure we unsubscribe before calling cs_destroy().
by Olivier Houchard
· 5 years ago
2a54bb7
MEDIUM: connection: Upstream SOCKS4 proxy support
by Alexander Liu
· 5 years ago
c125cef
CLEANUP: ssl: make inclusion of openssl headers safe
by Willy Tarreau
· 5 years ago
f656279
CLEANUP: task: remove unneeded tests before task_destroy()
by Willy Tarreau
· 5 years ago
2674303
MEDIUM: regex: modify regex_comp() to atomically allocate/free the my_regex struct
by Dragan Dosen
· 6 years ago
fdcb007
MEDIUM: proto: Change the prototype of the connect() method.
by Olivier Houchard
· 6 years ago
4fc49a9
BUG/MEDIUM: checks: make sure the warmup task takes the server lock
by Willy Tarreau
· 6 years ago
3f795f7
MEDIUM: tasks: Merge task_delete() and task_free() into task_destroy().
by Olivier Houchard
· 6 years ago
4bccea9
BUG/MAJOR: checks: segfault during tcpcheck_main
by Ricardo Nabinger Sanchez
· 6 years ago
06f6811
BUG/MEDIUM: checks: Don't bother subscribing if we have a connection error.
by Olivier Houchard
· 6 years ago
7059c55
MEDIUM: checks: Use the new _HA_ATOMIC_* macros.
by Olivier Houchard
· 6 years ago
9f6dc72
BUG/MINOR: checks: make external-checks restore the original rlim_fd_cur/max
by Willy Tarreau
· 6 years ago
2555ccf
MINOR: checks: use my_closefrom() to close all FDs
by Willy Tarreau
· 6 years ago
a48437b
BUG/MEDIUM: checks: Don't try to set ALPN if connection failed.
by Olivier Houchard
· 6 years ago
f67be93
BUG/MEDIUM: checks: Check that conn_install_mux succeeded.
by Olivier Houchard
· 6 years ago
774c486
BUG/MINOR: check: Wake the check task if the check is finished in wake_srv_chk()
by Christopher Faulet
· 6 years ago
0923fa4
BUG/MEDIUM: checks: Avoid having an associated server for email checks.
by Olivier Houchard
· 6 years ago
c98aa1f
MINOR: checks: Store the proxy in checks.
by Olivier Houchard
· 6 years ago
9215014
MEDIUM: checks: Add check-alpn.
by Olivier Houchard
· 6 years ago
4f6516d
CLEANUP: connection: rename subscription events values and event field
by Willy Tarreau
· 6 years ago
f502aca
MEDIUM: mux: provide the session to the init() and attach() method.
by Olivier Houchard
· 6 years ago
8ceae72
MEDIUM: init: use initcall for all fixed size pool creations
by Willy Tarreau
· 6 years ago
172f5ce
MINOR: initcall: use initcalls for most post_{check,deinit} and per_thread*
by Willy Tarreau
· 6 years ago
86abe44
MEDIUM: init: use self-initializing spinlocks and rwlocks
by Willy Tarreau
· 6 years ago
53216e7
MEDIUM: connections: Don't directly mess with the polling from the upper layers.
by Olivier Houchard
· 6 years ago
fa8aa86
MEDIUM: connections: Change struct wait_list to wait_event.
by Olivier Houchard
· 6 years ago
5ab01cb
BUG/MINOR: checks: queues null-deref
by mildis
· 6 years ago
543abd4
BUILD: checks: silence a null-deref build warning at -Wextra
by Willy Tarreau
· 6 years ago
175a2bb
MINOR: connection: pass the proxy when creating a connection
by Willy Tarreau
· 6 years ago
26e1a8f
MINOR: checks: Give checks their own wait_list.
by Olivier Houchard
· 6 years ago
af4021e
MEDIUM: connections: Get rid of the recv() method.
by Olivier Houchard
· 6 years ago
35b51c6
REORG: http: move the HTTP semantics definitions to http.h/http.c
by Willy Tarreau
· 6 years ago
be37315
MINOR: connection: make the initialization more consistent
by Willy Tarreau
· 6 years ago
4501c3e
MINOR: checks: Call wake_srv_chk() when we can finally send data.
by Olivier Houchard
· 6 years ago
5c110b9
MINOR: checks: Add event_srv_chk_io().
by Olivier Houchard
· 6 years ago
ed0f207
MINOR: connections: Get rid of txbuf.
by Olivier Houchard
· 6 years ago
511efea
MINOR: connections: Make rcv_buf mandatory and nuke cs_recv().
by Olivier Houchard
· 6 years ago
3ff577e
MAJOR: server: make server state changes synchronous again
by Willy Tarreau
· 6 years ago
063f786
MINOR: conn_stream: add cs_send() as a default snd_buf() function
by Christopher Faulet
· 6 years ago
d44a9b3
MEDIUM: mux: Remove const on the buffer in mux->snd_buf()
by Christopher Faulet
· 6 years ago
11c9aa4
MEDIUM: conn_stream: add cs_recv() as a default rcv_buf() function
by Willy Tarreau
· 7 years ago
8318885
MINOR: connection: simplify subscription by adding a registration function
by Willy Tarreau
· 6 years ago
910b2bc
MEDIUM: connections/mux: Revamp the send direction.
by Olivier Houchard
· 6 years ago
83061a8
MAJOR: chunks: replace struct chunk with struct buffer
by Willy Tarreau
· 6 years ago
843b7cb
MEDIUM: chunks: make the chunk struct's fields match the buffer struct
by Willy Tarreau
· 6 years ago
c9fa048
MAJOR: buffer: finalize buffer detachment
by Willy Tarreau
· 6 years ago
a094fde
MINOR: checks: use b_putist() instead of b_putstr()
by Willy Tarreau
· 6 years ago
55372f6
MINOR: buffer: replace b{i,o}_put* with b_put*
by Willy Tarreau
· 6 years ago
876171e
MINOR: checks: adapt to the new buffer API
by Willy Tarreau
· 6 years ago
eac5259
MINOR: buffer: use b_room() to determine available space in a buffer
by Willy Tarreau
· 6 years ago
7f3225f
MINOR: connection: add a flags argument to rcv_buf()
by Willy Tarreau
· 6 years ago
deccd11
MEDIUM: mux: make mux->snd_buf() take the byte count in argument
by Willy Tarreau
· 6 years ago
506a29a
MINOR: buffer: switch buffer sizes and offsets to size_t
by Willy Tarreau
· 6 years ago
6e1796e
BUG/MINOR: signals: ha_sigmask macro for multithreading
by William Lallemand
· 6 years ago
9f6af33
MINOR: tasks: Change the task API so that the callback takes 3 arguments.
by Olivier Houchard
· 6 years ago
b119a79
BUG/MINOR: checks: Fix check->health computation for flapping servers
by Christopher Faulet
· 7 years ago
b797ae1
BUG/MINOR: email-alert: Set the mailer port during alert initialization
by Christopher Faulet
· 7 years ago
2500fc2
BUG/MINOR: checks: check the conn_stream's readiness and not the connection
by Willy Tarreau
· 7 years ago
2f3a56b
BUG/MINOR: tcp-check: use the server's service port as a fallback
by Baptiste Assmann
· 7 years ago
248f117
BUG/MEDIUM: tcp-check: single connect rule can't detect DOWN servers
by Baptiste Assmann
· 7 years ago
23d86d1
BUG/MEDIUM: checks: Don't try to release undefined conn_stream when a check is freed
by Christopher Faulet
· 7 years ago
b26881a
BUG/MEDIUM: checks: properly set servers to stopping state on 404
by Willy Tarreau
· 7 years ago
1714b9f
BUG/MEDIUM: email-alert: don't set server check status from a email-alert task
by PiBa-NL
· 7 years ago
6377a00
BUG/MEDIUM: checks: Be sure we have a mux if we created a cs.
by Olivier Houchard
· 7 years ago
b610285
BUG/MEDIUM: tcp-check: Don't lock the server in tcpcheck_main
by Christopher Faulet
· 7 years ago
bafbe01
CLEANUP: pools: rename all pool functions and pointers to remove this "2"
by Willy Tarreau
· 7 years ago
fbc74e8
MINOR/CLEANUP: proxy: rename "proxy" to "proxies_list"
by Olivier Houchard
· 7 years ago
767a84b
CLEANUP: log: Rename Alert/Warning in ha_alert/ha_warning
by Christopher Faulet
· 7 years ago
9dcf9b6
MINOR: threads: Use __decl_hathreads to declare locks
by Christopher Faulet
· 7 years ago
2a944ee
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix
by Christopher Faulet
· 7 years ago
62ac84f
CLEANUP: checks: remove return statements in locked functions
by Willy Tarreau
· 7 years ago
73247e0
BUG/MAJOR: threads/checks: wrong use of SPIN_LOCK instead of SPIN_UNLOCK
by Willy Tarreau
· 7 years ago
1cd153a
BUG/MAJOR: threads/checks: add 4 missing spin_unlock() in various functions
by Willy Tarreau
· 7 years ago
f6ba17d
BUG/MAJOR: fix deadlock on healthchecks.
by Emeric Brun
· 7 years ago
16257f6
BUG/MEDIUM: checks/mux: always enable send-polling after connecting
by Willy Tarreau
· 7 years ago
Next »