[Boost-users] [Beast] Client connection times out after 5s. How to avoid?

2020-12-15 Thread Dominique Devienne via Boost-users
Hi. Continuing my explorations of Boost.Beast. So now I have: * a small Boost.Beast HTTP server (based on async_http_server example), and * a small Boost.Beast HTTP client (based on sync_http_client example). This works, in that I can start the client (wrapped in a helper class), make several req

Re: [Boost-users] [Beast] Client connection times out after 5s. How to avoid?

2020-12-15 Thread Dominique Devienne via Boost-users
On Tue, Dec 15, 2020 at 11:54 AM Dominique Devienne wrote: > Hi. Continuing my explorations of Boost.Beast. > > So now I have: > * a small Boost.Beast HTTP server (based on async_http_server example), and > * a small Boost.Beast HTTP client (based on sync_http_client example). > > This works, in

Re: [Boost-users] [Beast] Client connection times out after 5s. How to avoid?

2020-12-15 Thread Richard Hodges via Boost-users
> > >> >> Problem is, the HTTP client times out after 5s. >> > When you say that the client times out, what exactly is timing out? A client async_read operation, async_write? Is the server simply dropping your connection because of inactivity? ___ Boost-

Re: [Boost-users] [Beast] Client connection times out after 5s. How to avoid?

2020-12-15 Thread Dominique Devienne via Boost-users
On Tue, Dec 15, 2020 at 2:23 PM Richard Hodges via Boost-users < boost-users@lists.boost.org> wrote: > Problem is, the HTTP client times out after 5s. >>> >> > When you say that the client times out, what exactly is timing out? > > A client async_read operation, async_write? Is the server simply d

Re: [Boost-users] [Beast] Client connection times out after 5s. How to avoid?

2020-12-15 Thread Dominique Devienne via Boost-users
On Tue, Dec 15, 2020 at 2:29 PM Dominique Devienne wrote: > On Tue, Dec 15, 2020 at 2:23 PM Richard Hodges via Boost-users < > boost-users@lists.boost.org> wrote: > >> Problem is, the HTTP client times out after 5s. >>> >> When you say that the client times out, what exactly is timing out? >

[Boost-users] how to get progress indicator during phrase_parse() of boost::spirit::x3?

2020-12-15 Thread Lane via Boost-users
I am using boost::spirit:x3, shown below. I use it to import/parse some very large files and am trying to find a way to get some sort of progress from it so that I can use for a progress bar in app, but so far I've been unable to see a way. namespace parser { namespace x3 = boost::spir