On Tue, Mar 26, 2013 at 10:44 AM, Nick Mathewson wrote:
> On Tue, Mar 26, 2013 at 10:41 AM, sven falempin
> wrote:
> > Never saw
> > i was used to libevent 1
> > when i switch to 2
>
> My guess is that you're setting up these events before constructing an
> event_base or calling event_init. That
On Tue, Mar 26, 2013 at 10:41 AM, sven falempin wrote:
> Never saw
> i was used to libevent 1
> when i switch to 2
My guess is that you're setting up these events before constructing an
event_base or calling event_init. That might have worked with libevent
1, but in libevent 2, you need to make s
On Tue, Mar 26, 2013 at 10:04 AM, Azat Khuzhin wrote:
> Hi,
>
> On Tue, Mar 26, 2013 at 2:22 AM, sven falempin
> wrote:
> > using libevent2 (libevent-2.0.21-stable) i create this log:
> >
> > [warn] event_del: event has no event_base set.
> > [err] event_assign called on an already added event 0x
Hi,
On Tue, Mar 26, 2013 at 2:22 AM, sven falempin wrote:
> using libevent2 (libevent-2.0.21-stable) i create this log:
>
> [warn] event_del: event has no event_base set.
> [err] event_assign called on an already added event 0x84de9e4 (events: 0x0,
> fd: 0, flags: 0x0)
>
> using this code:
>
> vo
using libevent2 (libevent-2.0.21-stable) i create this log:
[warn] event_del: event has no event_base set.
[err] event_assign called on an already added event 0x84de9e4 (events: 0x0,
fd: 0, flags: 0x0)
using this code:
void connection::listen_write_event() {
int rc = 0;
if (fd == -1) return;
On Sat, Jun 9, 2012 at 5:11 AM, Filipe Miguel Campos Santos
wrote:
> Hey Everyone,
>
> i did use Libevent in my master thesis to programm a multithreaded
> websocket server and while i know *how to use* Libevent now, i dont really
> know how Libevent works internally. Everything i did know was tha
Hey Everyone,
i did use Libevent in my master thesis to programm a multithreaded
websocket server and while i know *how to use* Libevent now, i dont really
know how Libevent works internally. Everything i did know was that it
relies on multiplexing-IO-mechanisms like epoll.
So in order to be able
Hi,
I am seeing the a random behavior with persistent http
connection. Any help on this would be appreciated.
The scenario:
1. Got a http server implemented using libevent in
C++
2. There is a http client using Java Script.
3. The Javascript creates an EventSource (Which int
On Tue, Nov 16, 2010 at 10:26:59AM -0600, Steven Veneralle wrote:
> whenever I did my make I got he following
> /sizes: error while loading shared libraries: libevent-1.4.so.2: cannot open
> shared object file: No such file or directory
> make: *** [test] Error 127
>
> abd this error after it trie
whenever I did my make I got he following
/sizes: error while loading shared libraries: libevent-1.4.so.2: cannot open
shared object file: No such file or directory
make: *** [test] Error 127
abd this error after it tried running a mem chache command. any pointers
please?
memcached: error while lo
On Sat, Nov 13, 2010 at 12:06 AM, Ralph Castain wrote:
> Email is frequently a horrid method of communication, I fear. Let me dig
> deeper into this and see what I can find, rather than continuing to draw on
> your time.
>
> Putting all the notes together, it looks like libevent does internally
Email is frequently a horrid method of communication, I fear. Let me dig deeper
into this and see what I can find, rather than continuing to draw on your time.
Putting all the notes together, it looks like libevent does internally exactly
what we were doing externally, so the duplication may wel
On Fri, Nov 12, 2010 at 10:47 AM, Ralph Castain wrote:
> Hi Nick
>
> Appreciate the help. Shame on me for the buglet re open.
>
> Using your revisions, I was able to get this to work with our integration
> (i.e., using the opal abstractions). I'm a little puzzled by the procedure,
> though, so i
Hi Nick
Appreciate the help. Shame on me for the buglet re open.
Using your revisions, I was able to get this to work with our integration
(i.e., using the opal abstractions). I'm a little puzzled by the procedure,
though, so if you don't mind my tasking your patience, I do have a question.
I
On Thu, Nov 11, 2010 at 8:00 PM, Ralph Castain wrote:
> Afraid I am hitting a brick wall, Nick. I can't make the threaded code work.
> Perhaps you have some further advice?
>
> I have attached my test code. Basically, it initializes the event lib, calls
> use_threads, creates a new base, and the
Afraid I am hitting a brick wall, Nick. I can't make the threaded code work.
Perhaps you have some further advice?
I have attached my test code. Basically, it initializes the event lib, calls
use_threads, creates a new base, and then spawns a progress thread that calls
event_loop (you'll see th
On Wed, Nov 10, 2010 at 9:58 AM, Ralph Castain wrote:
>
> On Nov 9, 2010, at 9:57 PM, Nick Mathewson wrote:
>
>> On Tue, Nov 9, 2010 at 11:47 PM, Ralph Castain wrote:
>>>
>>> On Nov 9, 2010, at 9:03 PM, Nick Mathewson wrote:
>> [...]
So I'm assuming that you've got all the threading callback
On Nov 9, 2010, at 9:57 PM, Nick Mathewson wrote:
> On Tue, Nov 9, 2010 at 11:47 PM, Ralph Castain wrote:
>>
>> On Nov 9, 2010, at 9:03 PM, Nick Mathewson wrote:
> [...]
>>> So I'm assuming that you've got all the threading callbacks set up
>>> (probably via evthread_use_pthreads()) before you
On Tue, Nov 9, 2010 at 11:47 PM, Ralph Castain wrote:
>
> On Nov 9, 2010, at 9:03 PM, Nick Mathewson wrote:
[...]
>> So I'm assuming that you've got all the threading callbacks set up
>> (probably via evthread_use_pthreads()) before you created the event
>> base, so that evthread_make_base_notifi
On Nov 9, 2010, at 9:03 PM, Nick Mathewson wrote:
> On Tue, Nov 9, 2010 at 3:28 PM, Ralph Castain wrote:
>> Hi folks
>>
>> I'm running into a problem that probably results from my ignorance. So I
>> figured I would ask if someone can tell me what I'm doing wrong.
>>
>> I have a thread that lo
On Tue, Nov 9, 2010 at 3:28 PM, Ralph Castain wrote:
> Hi folks
>
> I'm running into a problem that probably results from my ignorance. So I
> figured I would ask if someone can tell me what I'm doing wrong.
>
> I have a thread that loops the event library with the following call:
>
> even
Hi folks
I'm running into a problem that probably results from my ignorance. So I
figured I would ask if someone can tell me what I'm doing wrong.
I have a thread that loops the event library with the following call:
events += event_loop(mca_oob_tcp_component.event_base, EVLOOP_ONCE);
Hi, i've received a http/dns related crash inside libevent code, and
i'm not sure if it's a libevent bug or my application's bug.
I'm using 2.0.7-rc on linux.
The code that uses the http code is here
http://github.com/vampirefrog/frogmod-justice/blob/master/fpsgame/server.cpp#L746
Lines 746-790.
Hi,
I am working on a http proxy program based on le-proxy. the proxy has
a feature to block requests to some special urls, then return to the
client a 403 forbidden or 302 redirect response.
I tried to do it in bufferevent readcb, here are the code sample i wrote:
static void
readcb(struct buff
24 matches
Mail list logo