gcc-4.7 fix
This commit is contained in:
parent
5ea6ea476e
commit
1199db690e
|
@ -53,7 +53,7 @@ const std::string STATUS_304 = "304 Not Modified";
|
|||
const std::string STATUS_400 = "400 Bad Request";
|
||||
const std::string STATUS_404 = "404 Not Found";
|
||||
const std::string DEFAULT_HTML = "index.html";
|
||||
const std::string SPDYD_SERVER = "spdyd spdylay/"SPDYLAY_VERSION;
|
||||
const std::string SPDYD_SERVER = "spdyd spdylay/" SPDYLAY_VERSION;
|
||||
} // namespace
|
||||
|
||||
Config::Config(): verbose(false), daemon(false), port(0), data_ptr(0),
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
*/
|
||||
#include "shrpx_listen_handler.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#include <cerrno>
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
*/
|
||||
#include "shrpx_thread_event_receiver.h"
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include "shrpx_ssl.h"
|
||||
#include "shrpx_log.h"
|
||||
#include "shrpx_client_handler.h"
|
||||
|
|
|
@ -132,7 +132,7 @@ int Spdylay::submit_request(const std::string& hostport,
|
|||
":scheme", "https",
|
||||
":host", hostport.c_str(),
|
||||
"accept", "*/*",
|
||||
"user-agent", "spdylay/"SPDYLAY_VERSION,
|
||||
"user-agent", "spdylay/" SPDYLAY_VERSION,
|
||||
NULL
|
||||
};
|
||||
return spdylay_submit_request(session_, pri, nv, NULL, stream_user_data);
|
||||
|
|
Loading…
Reference in New Issue