summaryrefslogtreecommitdiff
path: root/http-internal.h
diff options
context:
space:
mode:
authorAzat Khuzhin <azat@libevent.org>2019-04-03 23:20:06 +0300
committerAzat Khuzhin <azat@libevent.org>2019-04-03 23:21:24 +0300
commit35caeff5deacd5e081a4e6220b9226b61e24208d (patch)
treed001ca958fdde5a4a3bdc9f6dcd50869f6a89ebc /http-internal.h
parent2f184f8bbf23377bddc8daa1a2c7b40735ee7e2a (diff)
downloadlibevent-35caeff5deacd5e081a4e6220b9226b61e24208d.tar.gz
http: drop unused internal macros
Diffstat (limited to 'http-internal.h')
-rw-r--r--http-internal.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/http-internal.h b/http-internal.h
index fb39a650..1ae06b6a 100644
--- a/http-internal.h
+++ b/http-internal.h
@@ -19,9 +19,6 @@
#define HTTP_READ_TIMEOUT 50
#define HTTP_INITIAL_RETRY_TIMEOUT 2
-#define HTTP_PREFIX "http://"
-#define HTTP_DEFAULTPORT 80
-
enum message_read_status {
ALL_DATA_READ = 1,
MORE_DATA_EXPECTED = 0,
@@ -215,4 +212,4 @@ EVENT2_EXPORT_SYMBOL
int evhttp_decode_uri_internal(const char *uri, size_t length,
char *ret, int decode_plus);
-#endif /* _HTTP_H */
+#endif /* HTTP_INTERNAL_H_INCLUDED_ */