[Libevent-users] [evhttp] Prefer text/plain over text/html

2010-05-29 Thread Felix Nawothnig
Hi. While working on an HTML-escaping filter for my evhttp_send_reply_html() something came to me... The purpose of evhttp is to build something around a really minimalistic httpd, possibly in the embedded world; so you want to report error messages beyond the HTTP status code - and on the other

[Libevent-users] libevent with EV_WRITE question

2010-05-29 Thread Sherif Fanous
Hi I have the following scenario, and want to verify the expected outcome pthread_wrlock_rdlock(&(server->lock)); if (server->is_connected) { struct send_packets_args *send_packets_args; send_packets_args = malloc(sizeof (struct send_packets_args)); // Initialize send_packets_args to