打通proxy和浏览器之间的数据传递

1  根据addr->sin_family = AF_INET

#4  0x00002ab98bd4a149 in net::IPEndPoint::ToSockAddr(sockaddr*, unsigned int*) const () at ../../net/base/ip_endpoint.cc:57

#5  0x00002ab98c4386ea in net::UDPSocketLibevent::InternalConnect(net::IPEndPoint const&) () at ../../net/udp/udp_socket_libevent.cc:280
#6  0x00002ab98c4382f1 in net::UDPSocketLibevent::Connect(net::IPEndPoint const&) () at ../../net/udp/udp_socket_libevent.cc:247
#7  0x00002ab98c434cff in net::UDPClientSocket::Connect(net::IPEndPoint const&) () at ../../net/udp/udp_client_socket.cc:22
#8  0x00002ab98bffd4dc in net::(anonymous namespace)::IsGloballyReachable(std::__debug::vector<unsigned char, std::allocator<unsigned char> > const&, net::BoundNetLog const&) () at ../../net/dns/host_resolver_impl.cc:179
#9  0x00002ab98bffaec8 in net::HostResolverImpl::GetEffectiveKeyForRequest(net::HostResolver::RequestInfo const&, net::BoundNetLog const&) const () at ../../net/dns/host_resolver_impl.cc:2169
#10 0x00002ab98bffc53f in net::HostResolverImpl::ResolveFromCache(net::HostResolver::RequestInfo const&, net::AddressList*, net::BoundNetLog const&) () at ../../net/dns/host_resolver_impl.cc:1967
#11 0x00002ab98c406a38 in net::SpdySessionPool::FindAvailableSession(net::SpdySessionKey const&, net::BoundNetLog const&) ()
    at ../../net/spdy/spdy_session_pool.cc:157
#12 0x00002ab98c138421 in net::HttpStreamFactoryImpl::Job::DoInitConnection() () at ../../net/http/http_stream_factory_impl_job.cc:781
#13 0x00002ab98c136fbd in net::HttpStreamFactoryImpl::Job::DoLoop(int) () at ../../net/http/http_stream_factory_impl_job.cc:580
#14 0x00002ab98c1336d5 in net::HttpStreamFactoryImpl::Job::RunLoop(int) () at ../../net/http/http_stream_factory_impl_job.cc:444
#15 0x00002ab98c133379 in net::HttpStreamFactoryImpl::Job::StartInternal() () at ../../net/http/http_stream_factory_impl_job.cc:614
#16 0x00002ab98c1332b3 in net::HttpStreamFactoryImpl::Job::Start(net::HttpStreamFactoryImpl::Request*) ()
    at ../../net/http/http_stream_factory_impl_job.cc:130
#17 0x00002ab98c128f4d in net::HttpStreamFactoryImpl::RequestStreamInternal(net::HttpRequestInfo const&, net::RequestPriority, net::SSLConfig const&, net::SSLConfig const&, net::HttpStreamRequest::Delegate*, net::WebSocketHandshakeStreamBase::CreateHelper*, net::BoundNetLog const&) ()
    at ../../net/http/http_stream_factory_impl.cc:142
#18 0x00002ab98c128af4 in net::HttpStreamFactoryImpl::RequestStream(net::HttpRequestInfo const&, net::RequestPriority, net::SSLConfig const&, net::SSLConfig const&, net::HttpStreamRequest::Delegate*, net::BoundNetLog const&) () at ../../net/http/http_stream_factory_impl.cc:66
#19 0x00002ab98c0ddf2c in net::HttpNetworkTransaction::DoCreateStream() () at ../../net/http/http_network_transaction.cc:735
#20 0x00002ab98c0da44e in net::HttpNetworkTransaction::DoLoop(int) () at ../../net/http/http_network_transaction.cc:619

#21 0x00002ab98c0da1ea in net::HttpNetworkTransaction::Start(net::HttpRequestInfo const*, base::Callback<void (int)> const&, net::BoundNetLog const&) () at ../../net/http/http_network_transaction.cc:198

2 根据HttpStreamParser::SendRequest

#2  0x00002b8efea9cd9e in __assert_fail_base (fmt=<optimized out>, assertion=0x2b8ef9afe7ef "0",
    file=0x2b8efa43b710 "../../net/http/http_stream_parser.cc", line=<optimized out>, function=<optimized out>) at assert.c:94^@^@^@function=0x2b8efa43b735 "int net::HttpStreamParser::SendRequest(const std::string &, const net::HttpRequestHeaders &, net::HttpResponseInfo *, const CompletionCallback &)") at assert.c:103^@^@^@
#4  0x00002b8ef6b21a9b in net::HttpStreamParser::SendRequest(std::string const&, net::HttpRequestHeaders const&, net::HttpResponseInfo*, base::Callback<void (int)> const&) () at ../../net/http/http_stream_parser.cc:210^@^@^@#5  0x00002b8ef6a7bc07 in net::HttpBasicStream::SendRequest(net::HttpRequestHeaders const&, net::HttpResponseInfo*, base::Callback<void (int)> const&) () at ../../net/http/http_basic_stream.cc:33^@^@^@^@#6  0x00002b8ef6ab7bf4 in net::HttpNetworkTransaction::DoSendRequest() () at ../../net/http/http_network_transaction.cc:934^@^@^@^@#7  0x00002b8ef6ab39da in net::HttpNetworkTransaction::DoLoop(int) () at ../../net/http/http_network_transaction.cc:662^@^@^@^@#8  0x00002b8ef6ab2d2f in net::HttpNetworkTransaction::OnIOComplete(int) () at ../../net/http/http_network_transaction.cc:600^@^@^@^@#9  0x00002b8ef6ab5f58 in net::HttpNetworkTransaction::OnStreamReady(net::SSLConfig const&, net::ProxyInfo const&, net::HttpStreamBase*) ()
    at ../../net/http/http_network_transaction.cc:494^@^@^@
#10 0x00002b8ef6ab5fba in non-virtual thunk to net::HttpNetworkTransaction::OnStreamReady(net::SSLConfig const&, net::ProxyInfo const&, net::HttpStreamBase*) () at ../../net/http/http_network_transaction.cc:495^@^@^@
#11 0x00002b8ef6b1a5b8 in net::HttpStreamFactoryImpl::Request::OnStreamReady(net::HttpStreamFactoryImpl::Job*, net::SSLConfig const&, net::ProxyInfo const&, net::HttpStreamBase*) () at ../../net/http/http_stream_factory_impl_request.cc:99^@^@^@^@
#12 0x00002b8ef6b0ecc5 in net::HttpStreamFactoryImpl::Job::OnStreamReadyCallback() () at ../../net/http/http_stream_factory_impl_job.cc:307
#13 0x00002b8ef6b18d32 in base::internal::RunnableAdapter<void (net::HttpStreamFactoryImpl::Job::*)()>::Run(net::HttpStreamFactoryImpl::Job*)
    () at ../../base/bind_internal.h:134
#14 0x00002b8ef6b18cb3 in base::internal::InvokeHelper<true, void, base::internal::RunnableAdapter<void (net::HttpStreamFactoryImpl::Job::*)()>, void (base::WeakPtr<net::HttpStreamFactoryImpl::Job> const&)>::MakeItSo(base::internal::RunnableAdapter<void (net::HttpStreamFactoryImpl::Job::*)()>, base::WeakPtr<net::HttpStreamFactoryImpl::Job> const&) () at ../../base/bind_internal.h:882^@^@^@
#15 0x00002b8ef6b18c65 in base::internal::Invoker<1, base::internal::BindState<base::internal::RunnableAdapter<void (net::HttpStreamFactoryImpl::Job::*)()>, void (net::HttpStreamFactoryImpl::Job*), void (base::WeakPtr<net::HttpStreamFactoryImpl::Job>)>, void (net::HttpStreamFactoryImpl::Job*)>::Run(base::internal::BindStateBase*) () at ../../base/bind_internal.h:1166^@^@^@
#16 0x00002b8ef22b13fe in base::Callback<void ()>::Run() const () at ../../base/callback.h:401^@^@^@
#17 0x00002b8ef2521b10 in base::debug::TaskAnnotator::RunTask(char const*, char const*, base::PendingTask const&) ()
    at ../../base/debug/task_annotator.cc:62^@^@^@^@#18 0x00002b8ef25c7d17 in base::MessageLoop::RunTask(base::PendingTask const&) () at ../../base/message_loop/message_loop.cc:445^@^@^@^@#19 0x00002b8ef25c7e5b in base::MessageLoop::DeferOrRunPendingTask(base::PendingTask const&) () at ../../base/message_loop/message_loop.cc:455^@^@^@
#20 0x00002b8ef25c8095 in base::MessageLoop::DoWork() () at ../../base/message_loop/message_loop.cc:564^@^@^@^@#21 0x00002b8ef24e79d1 in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) ()
    at ../../base/message_loop/message_pump_libevent.cc:232^@^@^@



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值