DNS NAME_NOT_RESOLVED -105 error

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

DNS NAME_NOT_RESOLVED -105 error

Postby user6294 » Wed Aug 05, 2020 1:20 pm

Hi

We cloned a copy of HttpNetworkTransaction (MyHttpNetworkTransaction ) in order to use it to tunnel RTMP/RTMPS requests, by re-using
the HttpBasicStream object stream_ that's already setup and initialised. We added a StreamSocket member to
MyHttpNetworkTransaction and initialised it like this in DoInitRequestBody() method (see below).

But after called Start() to start the async request, I'm getting back a -105 DNS error ( NAME_NOT_RESOLVED ).

We used this in 58.x and it was ok. 79.x is generating this error code. Are there any dns / resolver methods / objects I need
to setup or initialise. This code is running in the Network Process in NetworkContext object (where I create the MyHttpNetworkTransaction object from HttpNetworkSession and priority) and then call Start(...).

Thanks very much

int MyHttpNetworkTransaction2::DoInitRequestBody() {
// BEGIN MY MODIFICATION
#if 0
next_state_ = STATE_INIT_REQUEST_BODY_COMPLETE;
int rv = OK;
if (request_->upload_data_stream)
rv = request_->upload_data_stream->Init(
base::BindOnce(&MyHttpNetworkTransaction::OnIOComplete,
base::Unretained(this)),
net_log_);
return rv;
#endif
// re-using the HttpBasicStream object stream_ in HttpNetworkTransaction
socket_=((HttpBasicStream *)stream_.get())->state_.connection()->socket();
next_state_=STATE_NONE;
return OK;
// END MY MODIFICATION
}
user6294
Mentor
 
Posts: 83
Joined: Sun Mar 18, 2018 6:57 pm

Re: DNS NAME_NOT_RESOLVED -105 error

Postby magreenblatt » Wed Aug 05, 2020 1:26 pm

You should ask on a mailing list specific to the Chromium network stack, like net-dev.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: DNS NAME_NOT_RESOLVED -105 error

Postby user6294 » Wed Aug 05, 2020 4:46 pm

ok, thanks
user6294
Mentor
 
Posts: 83
Joined: Sun Mar 18, 2018 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: civilogic and 90 guests