diff options
Diffstat (limited to 'src/libserver/http/http_message.h')
-rw-r--r-- | src/libserver/http/http_message.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libserver/http/http_message.h b/src/libserver/http/http_message.h index 38f599048..f0c0cc2dc 100644 --- a/src/libserver/http/http_message.h +++ b/src/libserver/http/http_message.h @@ -239,6 +239,13 @@ guint rspamd_http_message_get_flags (struct rspamd_http_message *msg); const gchar* rspamd_http_message_get_http_host (struct rspamd_http_message *msg, gsize *hostlen); +/** + * Returns true if a message has standard port (80 or 443 for https) + * @param msg + * @return + */ +bool rspamd_http_message_is_standard_port(struct rspamd_http_message *msg); + #ifdef __cplusplus } #endif |