Pass header sent from client.
This commit is contained in:
parent
20f21b707b
commit
ed7d430f2b
2 changed files with 41 additions and 1 deletions
|
@ -5,6 +5,8 @@
|
|||
#ifndef ATOM_BROWSER_NODE_DEBUGGER_H_
|
||||
#define ATOM_BROWSER_NODE_DEBUGGER_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "base/threading/thread.h"
|
||||
|
@ -33,6 +35,9 @@ class NodeDebugger : public net::StreamListenSocket::Delegate {
|
|||
scoped_ptr<net::StreamListenSocket> server_;
|
||||
scoped_ptr<net::StreamListenSocket> accepted_socket_;
|
||||
|
||||
std::string buffer_;
|
||||
int content_length_;
|
||||
|
||||
base::WeakPtrFactory<NodeDebugger> weak_factory_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(NodeDebugger);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue