Lines Matching defs:SpdySM
43 bool SpdySM::disable_data_compression_ = true;
45 std::string SpdySM::forward_ip_header_;
62 SpdySM::SpdySM(SMConnection* connection,
81 SpdySM::~SpdySM() {
85 void SpdySM::InitSMConnection(SMConnectionPoolInterface* connection_pool,
94 << "SpdySM: Initializing server connection.";
100 SMInterface* SpdySM::NewConnectionInterface() {
108 LOG(ERROR) << "SpdySM: Could not create server connection";
111 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: Creating new HTTP interface";
120 SMInterface* SpdySM::FindOrMakeNewSMConnectionInterface(
129 << "SpdySM: Making new server connection on index: "
135 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: Reusing connection on "
147 int SpdySM::SpdyHandleNewStream(const SpdyControlFrame* frame,
157 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: OnSyn("
159 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: headers parsed?: "
162 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: # headers: "
168 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: didn't find method or url "
216 VLOG(3) << ACCEPTOR_CLIENT_IDENT << "SpdySM: HTTP Request:\n" << http_data;
220 void SpdySM::OnControl(const SpdyControlFrame* frame) {
233 LOG(ERROR) << "SpdySM: Could not convert spdy into http.";
262 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: OnSynReply(" <<
270 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: OnRst("
277 LOG(ERROR) << "SpdySM: Unknown control frame type";
281 bool SpdySM::OnControlFrameHeaderData(spdy::SpdyStreamId stream_id,
288 void SpdySM::OnDataFrameHeader(const spdy::SpdyDataFrame* frame) {
292 void SpdySM::OnStreamFrameData(SpdyStreamId stream_id,
294 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: StreamData(" << stream_id
309 size_t SpdySM::ProcessReadInput(const char* data, size_t len) {
313 size_t SpdySM::ProcessWriteInput(const char* data, size_t len) {
317 bool SpdySM::MessageFullyRead() const {
321 bool SpdySM::Error() const {
325 const char* SpdySM::ErrorAsString() const {
330 void SpdySM::ResetForNewInterface(int32 server_idx) {
331 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: Reset for new interface: "
336 void SpdySM::ResetForNewConnection() {
347 int SpdySM::PostAcceptHook() {
359 void SpdySM::NewStream(uint32 stream_id,
378 void SpdySM::AddToOutputOrder(const MemCacheIter& mci) {
382 void SpdySM::SendEOF(uint32 stream_id) {
386 void SpdySM::SendErrorNotFound(uint32 stream_id) {
390 void SpdySM::SendOKResponse(uint32 stream_id, std::string* output) {
394 size_t SpdySM::SendSynStream(uint32 stream_id, const BalsaHeaders& headers) {
398 size_t SpdySM::SendSynReply(uint32 stream_id, const BalsaHeaders& headers) {
402 void SpdySM::SendDataFrame(uint32 stream_id, const char* data, int64 len,
408 void SpdySM::SendEOFImpl(uint32 stream_id) {
410 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: Sending EOF: " << stream_id;
415 void SpdySM::SendErrorNotFoundImpl(uint32 stream_id) {
423 void SpdySM::SendOKResponseImpl(uint32 stream_id, std::string* output) {
432 void SpdySM::KillStream(uint32 stream_id) {
436 void SpdySM::CopyHeaders(SpdyHeaderBlock& dest, const BalsaHeaders& headers) {
461 size_t SpdySM::SendSynStreamImpl(uint32 stream_id,
483 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: Sending SynStreamheader "
488 size_t SpdySM::SendSynReplyImpl(uint32 stream_id, const BalsaHeaders& headers) {
500 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: Sending SynReplyheader "
505 void SpdySM::SendDataFrameImpl(uint32 stream_id, const char* data, int64 len,
536 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: Sending data frame "
545 void SpdySM::EnqueueDataFrame(DataFrame* df) {
549 void SpdySM::GetOutput() {
554 << "SpdySM: GetOutput: nothing to output!?";
559 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: GetOutput transformed "
580 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: GetOutput "
603 VLOG(2) << ACCEPTOR_CLIENT_IDENT << "SpdySM: GetOutput SendDataFrame["