summaryrefslogtreecommitdiff
path: root/src/http_decoder_utils.h
diff options
context:
space:
mode:
author李佳 <[email protected]>2024-06-20 10:59:55 +0000
committer李佳 <[email protected]>2024-06-20 10:59:55 +0000
commita2e5617ed5f32078b9e2fc1f1a2649aaef6b0eec (patch)
treeed5d4b3392bdd577986d26ac8d5c6da21f9c2b2a /src/http_decoder_utils.h
parent7d6170a23027aff0ebf2e7832dc11e4bbdce57ea (diff)
parent05e8c9db6912dc95de9691e9b90e549a4c3beffe (diff)
Merge branch 'feat-connect-tunnel' into 'dev-on-stellar2.0'
feat: TSG-20446, support http tunnel with CONNECT method. See merge request stellar/http_decoder!7
Diffstat (limited to 'src/http_decoder_utils.h')
-rw-r--r--src/http_decoder_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http_decoder_utils.h b/src/http_decoder_utils.h
index 0661641..5b09d50 100644
--- a/src/http_decoder_utils.h
+++ b/src/http_decoder_utils.h
@@ -5,9 +5,11 @@
#include <stdio.h>
char *safe_dup(const char *str, size_t len);
+int strncasecmp_safe(const char *fix_s1, const char *dyn_s2, size_t fix_n1, size_t dyn_n2);
const char *http_message_type_to_string(enum http_message_type type);
int http_message_type_is_req(struct session *sess, enum http_message_type msg_type);
int http_event_is_req(enum http_event event);
+int stellar_session_mq_get_topic_id_reliable(struct stellar *st, const char *topic_name, session_msg_free_cb_func *msg_free_cb, void *msg_free_arg);
/******************************************************************************
* Logger
******************************************************************************/