Will Miles
Will Miles
Hi, I'm taking a stab at this for my company's GitLab server, although I can't promise it'll solve all of @Natureshadow's use case. So far I'm aiming at the following...
Comment from the peanut gallery: This is a great idea, although not quite enough for my use case. My application needs to perform asynchronous I/O on pipes and files to...
Sure - I'll see if I can put together an illustrative example.
OK, I've put together an example at https://github.com/willmmiles/restbed/tree/external_asio called 'cgi'. It's a partial implementation of a CGI-like interface whereby an external program is called and the results are streamed back...
Hm, in terms of implementation details, I'd be somewhat wary of a the set_runloop() call -- you'd have to carefully manage where this is legal, because IIRC a reference to...
Re dependencies -- from my chair, the deep question is how you want to think of the relationship between restbed and ASIO. Is it a dependency - an implementation detail...
I'll see if I can borrow an iPhone and reproduce this later. Reliable crashes are so much easier to debug.
I can replicate this issue with 0.14.1 and Safari shortly after a board reset. Later requests do not reliably hit the bug, but with repeated requests it will eventually fail....
Apologies for the incorrect initial push, I grabbed the wrong version of this commit.
I don't have exact numbers, but it's a couple of round trip times -- it can be 10s of ms. (Data goes out, ack comes back, fin goes out, fin-ack...