Re: Send data before receiving data using the callback approach for WebSocket requests

2023-06-05 Thread Darshan Sen via curl-library
Actually, I would still need this to work with the callback approach because my application is required to work in a push-based mechanism, so that it can allow users to attach callbacks to listen for received data instead of a pull-based model where users would need to explicitly call my APIs to

Send data before receiving data using the callback approach for WebSocket requests

2023-06-05 Thread Darshan Sen via curl-library
Hi! I was experimenting with sending WebSocket requests using libcurl. Since my codebase already uses the callback approach for HTTP requests and I was just adding support for WebSocket connections, I thought of continuing using the same write callback for WebSocket connections too. However, I was

Re: Recommended way of using a custom build of libcurl in a Node.js addon

2023-03-22 Thread Darshan Sen via curl-library
; On Tue, Mar 21, 2023 at 5:18 PM Timothe Litt via curl-library < > curl-library@lists.haxx.se> wrote: > >> >> On 21-Mar-23 04:34, Darshan Sen via curl-library wrote: >> >> Hi! I'd like to incorporate a custom build of libcurl (with HTTP3 >> support) into a

Re: Recommended way of using a custom build of libcurl in a Node.js addon

2023-03-21 Thread Darshan Sen via curl-library
this thread to learn about solutions for this problem that I'm trying to solve and find out which one is the most reasonable to use here. On Tue, Mar 21, 2023 at 5:18 PM Timothe Litt via curl-library < curl-library@lists.haxx.se> wrote: > > On 21-Mar-23 04:34, Darshan Sen via curl-library w

Recommended way of using a custom build of libcurl in a Node.js addon

2023-03-21 Thread Darshan Sen via curl-library
Hi! I'd like to incorporate a custom build of libcurl (with HTTP3 support) into a Node.js C++ addon that is going to be shipped to some systems that don't have curl or its dependencies installed. >From what I can tell, the possible ways in which this can be

Re: Error while building curl with HTTP3 support from quictls/openssl

2023-03-06 Thread Darshan Sen via curl-library
, Mar 6, 2023 at 8:01 PM Daniel Stenberg wrote: > On Mon, 6 Mar 2023, Darshan Sen via curl-library wrote: > > > I'd appreciate some help. > > First: in your configure line, make sure you always use absolute paths for > all arguments. > > -- > > / daniel.haxx.se

Error while building curl with HTTP3 support from quictls/openssl

2023-03-06 Thread Darshan Sen via curl-library
Hi! I was trying to build curl with HTTP3 support using the quictls clone of openssl and I'm running into some errors. The error I'm facing currently is configure: error: --with-ngtcp2 was specified but could not find ngtcp2_crypto_openssl pkg-config file. which happens during the configure