Re: [Libevent-users] evhttp, evhttp_send_reply_start and client close

2012-08-12 Thread Vincent Bernat
❦ 12 août 2012 11:02 CEST, Vincent Bernat  : > I am trying to use HTTP chunked answers to implement a publish/subscribe > mechanism on top of evhttp. A client will subscribe to a topic by > requesting some URL, I invoke evhttp_send_reply_start(), put the request > into some lis

[Libevent-users] evhttp, evhttp_send_reply_start and client close

2012-08-12 Thread Vincent Bernat
Hi! I am trying to use HTTP chunked answers to implement a publish/subscribe mechanism on top of evhttp. A client will subscribe to a topic by requesting some URL, I invoke evhttp_send_reply_start(), put the request into some list and once a message is available for a topic, I take my list and for

Re: [Libevent-users] Introducing RProxy (and a re-introduction to libevhtp)

2012-05-21 Thread Vincent Bernat
other HTTP SSL termination solutions. -- Vincent Bernat ☯ http://vincent.bernat.im Parenthesise to avoid ambiguity. - The Elements of Programming Style (Kernighan & Plauger) *** To unsubscribe, send an e-mail

Re: [Libevent-users] Event priorities

2012-04-30 Thread Vincent Bernat
ou call `event_config_set_max_dispatch_interval()` with the third parameter set to 1, you will get the expected behaviour. -- Vincent Bernat ☯ http://vincent.bernat.im # Okay, what on Earth is this one supposed to be used for? 2.4.0 linux/drivers/char/cp437.uni **

Re: [Libevent-users] How to activate read callback when not all data was read

2012-04-10 Thread Vincent Bernat
Le 10.04.2012 11:10, Nils Rennebarth a écrit : Or is there something like a idle task, that get called when there is nothing else to do? Working with timeouts would introduce arbitrary gaps in command handling, event if there are no other clients that want work, so I won't go that route. Or do