Questions tagged [cronet]
23 questions
4
votes
0 answers
Change max. idle time for (crypto) handshake in Chromium HTTP/3
Background: I'm trying to measure common metrics (e.g. firstContentfulPaint) using selenium with chromium over satellite links under different loss and delay parameters.
Problem: When running with high delay / loss rates, chromium stops the…

curtp67
- 41
- 2
4
votes
2 answers
How to send a “multipart/form-data” POST in Android with CRONET?
Has anyone been able to accomplish sending a multipart/form-data POST in Android with CRONET yet? I have had no success trying to upload an image/png using a POST request to our server and am curious if anyone has.
notes : i need CRONET based…
user15460872
4
votes
1 answer
C++ API availability for Cronet
Are native bindings to Cronet available? Are there any C++ API available?That would be useful when having a C++ library shared between Android and iOS.

kul3r4
- 351
- 1
- 6
2
votes
2 answers
Downloading prebuilt Cronet (Chromium network stack) library
Is there any way to download Cronet prebuilt library?
I'd like to use cronet..so (dynamic/shared library) on Desktop for debugging purposes. Is there any way to download it directly rather than building it from the source?

Prerak Mann
- 661
- 7
- 15
2
votes
1 answer
How to send json object as post request in CRONET?
I am developing android application in which i send data to server using cronet now i want to send data to server in json object but not know how to send in object?
Following is my snippet code for GET method (WORKING).
Can anyone share how to use…

Bolt UIX
- 5,988
- 6
- 31
- 58
1
vote
0 answers
Certificate authentication with Cronet (Android)
I would like to perform API calls using Cronet (https://developer.android.com/codelabs/cronet#0) with certificate authentication (aka mutual TLS).
I cannot find any documentation or sample. Is there any way to do it?

Florent Nosari
- 49
- 2
1
vote
1 answer
How to build chromium's cronet library for Linux desktop?
I would like to use chromium's network stack for desktop applications, from what I heard it was developed for mobile platforms. Is there a way to build it for desktop platforms?

hldev
- 914
- 8
- 18
1
vote
1 answer
iOS cronet ld error with enable_ios_bitcode flag
I build iOS Cronet with flag 'enable_ios_bitcode=true'. However, I meet the error below:
ld: section __bundle (address=0x003F8000, size=1136419986) would make the output executable exceed available address range for architecture armv7
clang: error:…

Lonnie.Zhang
- 19
- 1
1
vote
0 answers
NSURLProtocol registerClass works for iOS simulator but not actual device
I am calling [NSURLProtocol registerClass] to use a custom protocol (Chromium Cronet) when playing a video using AVPlayer. (The register is done at here: )
It works well on iOS simulator (Xcode 11.3) but when runs on an actual device (iPhone SE,…

user1783732
- 1,599
- 5
- 22
- 44
1
vote
1 answer
Weird iOS crash stack without the called function
the code block below is the crash stack of a iOS APP, which using Cronet.
we are trying to find the exact crash line in the source code according to the last frame 1,
as we can see, is the function of insert, but it was not called directly in frame2…

Berte Colin
- 65
- 7
0
votes
0 answers
Glide with Cronet uses http2 instead of http3 for image download
I want to download images using HTTP3 and Glide.
I read that I can use Cronet to send HTTP3 requests in android and I can integrate Glide and Cronet in my app.
According to this doc, Glide will start using Cornet as soon as we add the following…

aquaman
- 1,523
- 5
- 20
- 39
0
votes
0 answers
Crash in Cronet on Android [CronetDynamite.apk] SIGTRAP
I use Cronet in my Android app.
Recently the following crash is reported in the Play Console (about 1 in 100 users is affected):
[CronetDynamite.apk]
SIGTRAP
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 14389 >>>…

jake n
- 342
- 3
- 15
0
votes
0 answers
Not getting plain text response using Cronet Engine with Brotli enabled
I am using CronetEngine for making a network request as below
val engine: CronetEngine = CronetEngine.Builder(context).enableQuic(false)
.enableBrotli(true)
.enableHttp2(false).build()
val…

WISHY
- 11,067
- 25
- 105
- 197
0
votes
0 answers
Cronet request priority over HTTP/2
According to Android's docs, a Cronet request's priority is sent to the server:
The library allows you to set a priority tag for the requests. The server can use the priority tag to determine the order in which to handle the requests.
(In other…

spaaarky21
- 6,524
- 7
- 52
- 65
0
votes
0 answers
Java - Read from InputStream to ByteBuffer by chunk size
I am using Cronet API with our current API stack, specifically UploadDataProvider, there is a ByteBuffer with preset limit, seems like the limit size is fixed and we need to pass the data chunk by chunk. Our current API uses InputStream, and write…

Cheng
- 775
- 2
- 12
- 28