On Thu, Jan 8, 2009 at 11:40 PM, Adriano Bonat <adria...@gmail.com> wrote: > Hi guys, > > I'm doing some tests with broadcasting a message to several http > clients, implemented with libevent. I'm currently with a segfault, > that is demonstrated by the attached source code, that happens when > you broadcast several messages to the connected clients. > > The steps to reproduce the segfault are: > 1. compile the attached code: gcc test1.c -o test1 -Wall -levent > 2. run it > 3. access by a browser the URL: http://127.0.0.1:8000/test/1 > 4. press enter on the terminal running test1 > 5. at least here, i get a segfault :) > > I'm using libevent-1.4.9-stable, compiled by myself with debug enabled. > > Am I doing something wrong? Is this a bug?
I haven't been paying attention to libevent development recently, but I don't think evhttp is thread-safe... _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users