I have some C++ code which sends REST requests periodically. Here are some
options that are set and then the curl_easy_perform call (a HEAD message is
being sent):
curl_easy_setopt(mhCurl, CURLOPT_HTTPHEADER, chunk);
curl_easy_setopt(mhCurl, CURLOPT_URL, f_szUrl.c_str());
What am I trying:
I am writing a simple http client, and Im basing it on the multi-socket set of
apis.
I am using epoll as the main reactor (event loop).
My code is *very* similar to the example in:
https://curl.haxx.se/libcurl/c/ephiperfifo.html
A private, for profit company is buying another private, for profit company.
I really cannot grasp all this M$ is evil and will doom GH mantra.
It's an anti-competitive measure on part of M$. Yet again. How about
they create their own content platform as an alternative to GH?
The material
This is official now since this subject is the current github home page
header.
I'm really surprised I'm the first on this list to write about this
subject.
AFAIAC, my trust in this company is below zero on all points and I'll
delete my account as soon as my (insignificant) projects are
Congratulations! I couldn't have picked a more worthy recipient for an
award than this project.
Well done, good job.
On 18/10/17 09:35, Daniel Stenberg wrote:
Hi friends!
I've been awarded[1] the Swedish Polhemspriset (Polhem Prize) 2017, for
curl. The details are in my blog post.
I do
I don't know about you but libuv is a more appropriate library to bring
features such as asynchronisity to the C language. C++11 has many such
features as well as ease of implementing an event loop already built
natively. From my experience even in the case of implementing an aync
app in C
Consider this scenario. There are multiple easy-handles added to a curlm
handle for a simultaneous transfer over a limited number of connections.
A simple problem: Is there a way to set a priority on an easy-handle so
that when curlm handle performs it does so according to the priority of
the
I replied. Good job.
On 11/05/17 22:19, Daniel Stenberg wrote:
Hi all,
Please consider spending a few minutes of your precious time on the curl
user survey. We appreciate it!
https://daniel.haxx.se/blog/2017/05/11/the-curl-user-survey-2017/
Thanks!
-establish them everytime.
-doa379
---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
On 3/16/2017 3:16 PM, doa379 wrote:
I'm using the API to fetch data and am using the WRITEDATA,
WRITEFUNCTION options to handle it. Unfortunately I am finding that in
some instances where the data is too long it gets separated in more
than one call of the WRITEFUNCTION callback function
I'm using the API to fetch data and am using the WRITEDATA,
WRITEFUNCTION options to handle it. Unfortunately I am finding that in
some instances where the data is too long it gets separated in more than
one call of the WRITEFUNCTION callback function. At this point the
application loses track
The problem I am having is with dropped internet connections when this
function is already running. In such situations I would like U = 0 so
that the main loop ends and the function returns back to its origin.
This isn't happening. Most of the time after the internet connection
is dropped and
The problem I am having is with dropped internet connections when this
function is already running. In such situations I would like U = 0 so
that the main loop ends and the function returns back to its origin.
This isn't happening. Most of the time after the internet connection
is dropped and
The problem I am having is with dropped internet connections when this
function is already running. In such situations I would like U = 0 so
that the main loop ends and the function returns back to its origin.
This isn't happening. Most of the time after the internet connection
is dropped and
I am using multi curl to fetch a series of urls. This is following the
10-at-a-time prototype example.
The problem I am having is with dropped internet connections when this
function is already running. In such situations I would like U = 0 so
that the main loop ends and the function returns
I am using multi libcurl to download data from various sources. It's
all working except for the issue that the data retrieved from the
various sources is fragmented and jumbled. For example if you have
this JSON data in any order:
{{ JSON1 }, { JSON2 }, { JSON3 }}
{{ JSON1 }, { JSON3 }, { JSON2
On 22/09/15 08:48, Aaron Meriwether wrote:
On Sep 20, 2015, at 1:20 AM, Ray Satiro via curl-library
<curl-library@cool.haxx.se> wrote:
On 9/18/2015 6:47 AM, doa379 wrote:
On 18/09/15 01:22, Aaron Meriwether wrote:
On Sep 17, 2015, at 1:06 PM, doa379 <doa...@gmail.com> wro
On Sep 17, 2015, at 1:06 PM, doa379 <doa...@gmail.com> wrote:
I think my issue has resolved itself by putting in a delay to some
of the operations in the threads.
If you use delays to "fix" a bug in a threaded program, you are doing
it wrong, and the bug will almost certainly
On 18/09/15 01:22, Aaron Meriwether wrote:
On Sep 17, 2015, at 1:06 PM, doa379 <doa...@gmail.com> wrote:
I think my issue has resolved itself by putting in a delay to some of the
operations in the threads.
If you use delays to "fix" a bug in a threaded program, you ar
I'm trying to use libcurl in a distinct pthread but the process gets
stuck in the callback function as the url works like a socket and is
constantly giving out data:
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, callbackFunc);
Why would it get stuck because of that?
I would to implement a
I'm trying to use libcurl in a distinct pthread but the process gets
stuck in the callback function as the url works like a socket and is
constantly giving out data:
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, callbackFunc);
I would to implement a thread which allows to fork the libcurl
21 matches
Mail list logo