fix http unit test SIGBUS in os x

This commit is contained in:
Jeff
2016-05-11 08:41:32 -04:00
parent 0a83d8e6a0
commit 47ce2398a4
2 changed files with 15 additions and 16 deletions

4
HTTP.h
View File

@@ -19,8 +19,8 @@ namespace i2p {
namespace http {
const char CRLF[] = "\r\n"; /**< HTTP line terminator */
const char HTTP_EOH[] = "\r\n\r\n"; /**< HTTP end-of-headers mark */
extern const char *HTTP_METHODS[]; /**< list of valid HTTP methods */
extern const char *HTTP_VERSIONS[]; /**< list of valid HTTP versions */
extern const std::vector<std::string> HTTP_METHODS; /**< list of valid HTTP methods */
extern const std::vector<std::string> HTTP_VERSIONS; /**< list of valid HTTP versions */
struct URL {
std::string schema;