Bug #7039 » 0003-Optional-debugging-code.patch
src/http/RequestParser.C | ||
---|---|---|
char *& begin,
|
||
char * end)
|
||
{
|
||
LOG_DEBUG("ws: parseWebSocketMessage: called with input[" << end-begin << "]: '" << std::string(begin, std::min(80L, end-begin)) << "'");
|
||
switch (wsState_) {
|
||
case ws_start:
|
||
{
|
||
... | ... | |
Request::State state = Request::Partial;
|
||
LOG_DEBUG("ws: prior to loop, end-begin: " << end-begin << ", state: " << state << ", wsState_: " << wsState_);
|
||
while (begin < end && state == Request::Partial) {
|
||
LOG_DEBUG("ws: top of loop, end-begin: " << end-begin << ", state: " << state << ", wsState_: " << wsState_);
|
||
switch (wsState_) {
|
||
case ws00_frame_start:
|
||
wsFrameType_ = *begin;
|
src/http/WtReply.C | ||
---|---|---|
const char* end,
|
||
Request::State state)
|
||
{
|
||
LOG_DEBUG("WtReply::consumeWebSocketMessage: opcode: " << opcode << ", end-begin: " << (end-begin) << ", state: " << state << ", content: '" << std::string(begin, end-begin) << "'");
|
||
in_mem_.write(begin, static_cast<std::streamsize>(end - begin));
|
||
if (state != Request::Partial) {
|