[installation] Change to nightly
This commit is contained in:
@ -185,7 +185,7 @@ struct HttpRequest {
|
||||
std::string secWebsocketProtocol;
|
||||
std::string secWebsocketKey;
|
||||
int secWebsocketVersion;
|
||||
Time ifModifiedSince;
|
||||
OPT(Time) ifModifiedSince;
|
||||
bool keepAlive;
|
||||
bool addKeepAliveHeader;
|
||||
bool upgrade;
|
||||
@ -236,7 +236,7 @@ struct URLOptions {
|
||||
|
||||
|
||||
struct URLInsituOptions {
|
||||
URLInsituOptions(std::string &s) : _source(&s[0]), _source_len(s.size()) {}
|
||||
URLInsituOptions(std::string &s) : _source(s.data()), _source_len(s.size()) {}
|
||||
|
||||
URLInsituOptions(char *src, size_t l) : _source(src), _source_len(l) {}
|
||||
|
||||
@ -408,7 +408,7 @@ class SC_SYSTEM_CORE_API HttpSession : public ClientSession {
|
||||
void handleInbox(const char *data, size_t len) override;
|
||||
void handleInboxError(Error error) override;
|
||||
void handlePostData(const char *data, size_t len) override;
|
||||
void outboxFlushed() override;
|
||||
void buffersFlushed() override;
|
||||
|
||||
virtual bool validatePostDataSize(size_t postDataSize);
|
||||
virtual void requestFinished();
|
||||
@ -431,7 +431,7 @@ class SC_SYSTEM_CORE_API HttpSession : public ClientSession {
|
||||
|
||||
|
||||
inline URLPath::URLPath(const std::string &s)
|
||||
: _source(&s[0])
|
||||
: _source(s.data())
|
||||
, _source_len(s.size())
|
||||
{
|
||||
while ( _source_len && (*_source == '/') ) {
|
||||
@ -483,7 +483,7 @@ inline size_t URLPath::remainderLength() const {
|
||||
}
|
||||
|
||||
inline URLInsituPath::URLInsituPath(std::string &s)
|
||||
: part_start(&s[0])
|
||||
: part_start(s.data())
|
||||
, part_len(0)
|
||||
, _source(part_start)
|
||||
, _source_len(s.size())
|
||||
|
||||
Reference in New Issue
Block a user