mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
MINOR: backends: Make get_server_* functions explicitly static
Not used outside.
This commit is contained in:
parent
576c5aa25c
commit
8fe4891b11
@ -240,7 +240,7 @@ static struct server *get_server_uh(struct proxy *px, char *uri, int uri_len)
|
|||||||
* is returned. If any server is found, it will be returned. If no valid server
|
* is returned. If any server is found, it will be returned. If no valid server
|
||||||
* is found, NULL is returned.
|
* is found, NULL is returned.
|
||||||
*/
|
*/
|
||||||
struct server *get_server_ph(struct proxy *px, const char *uri, int uri_len)
|
static struct server *get_server_ph(struct proxy *px, const char *uri, int uri_len)
|
||||||
{
|
{
|
||||||
unsigned int hash = 0;
|
unsigned int hash = 0;
|
||||||
const char *start, *end;
|
const char *start, *end;
|
||||||
@ -302,7 +302,7 @@ struct server *get_server_ph(struct proxy *px, const char *uri, int uri_len)
|
|||||||
/*
|
/*
|
||||||
* this does the same as the previous server_ph, but check the body contents
|
* this does the same as the previous server_ph, but check the body contents
|
||||||
*/
|
*/
|
||||||
struct server *get_server_ph_post(struct stream *s)
|
static struct server *get_server_ph_post(struct stream *s)
|
||||||
{
|
{
|
||||||
unsigned int hash = 0;
|
unsigned int hash = 0;
|
||||||
struct http_txn *txn = s->txn;
|
struct http_txn *txn = s->txn;
|
||||||
@ -383,7 +383,7 @@ struct server *get_server_ph_post(struct stream *s)
|
|||||||
* is returned. If any server is found, it will be returned. If no valid server
|
* is returned. If any server is found, it will be returned. If no valid server
|
||||||
* is found, NULL is returned.
|
* is found, NULL is returned.
|
||||||
*/
|
*/
|
||||||
struct server *get_server_hh(struct stream *s)
|
static struct server *get_server_hh(struct stream *s)
|
||||||
{
|
{
|
||||||
unsigned int hash = 0;
|
unsigned int hash = 0;
|
||||||
struct http_txn *txn = s->txn;
|
struct http_txn *txn = s->txn;
|
||||||
@ -459,7 +459,7 @@ struct server *get_server_hh(struct stream *s)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* RDP Cookie HASH. */
|
/* RDP Cookie HASH. */
|
||||||
struct server *get_server_rch(struct stream *s)
|
static struct server *get_server_rch(struct stream *s)
|
||||||
{
|
{
|
||||||
unsigned int hash = 0;
|
unsigned int hash = 0;
|
||||||
struct proxy *px = s->be;
|
struct proxy *px = s->be;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user