Re: [Libevent-users] Problems when compiling asciidoc of libevent reference manual book

2009-09-20 Thread Nick Mathewson
On Sun, Sep 20, 2009 at 07:45:08PM -0700, Raine Fan wrote:
> Hi, yesterday I 'git cloned' the reference manual book from 
> git://git.torproject.org/~nickm/git/lebook and I'm having problems when 
> compiling it. Here is the output:
> 
> ERROR: 01_intro.txt: line 270: missing listing block closing delimiter
> 
> I'm using asciidoc version 8.2.7 on Ubuntu Jaunty. Any help?
> 

Try a newer asciidoc.  I don't know how new it needs to be exactly,
but the makefile says:

# asciidoc 8.4.3 is known to work.  asciidoc 8.2.5 is known not to work.


-- 
Nick
___
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users


[Libevent-users] Problems when compiling asciidoc of libevent reference manual book

2009-09-20 Thread Raine Fan
Hi, yesterday I 'git cloned' the reference manual book from 
git://git.torproject.org/~nickm/git/lebook and I'm having problems when 
compiling it. Here is the output:

ERROR: 01_intro.txt: line 270: missing listing block closing delimiter

I'm using asciidoc version 8.2.7 on Ubuntu Jaunty. Any help?

Thanks and regards,
Raine



  ___
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users


Re: [Libevent-users] Guides for switching from select to libevent.

2009-09-20 Thread q6Yr7e0o nIJDVMjC
> Does anyone know of any well-written guides for switching an application
> from select based socket handling to libevent?


Not really a guide how to switch but a well written libevent guideline

http://www.wangafu.net/~nickm/libevent-book/
___
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users


[Libevent-users] Limit libevent download bandwidth

2009-09-20 Thread q6Yr7e0o nIJDVMjC
Hi,


what's the best way to limit the download bandwidth of an libevent
based application. Situation is that i have an incoming evbuffer from
one client and the application forwards this stream to an outgoing
evbuffer on another client.

If the incoming client has huge bandwidth and the outgoing one has
only very limited bandwith my application wastes gigs of memory for
buffering. Is it ok to just not read from the incoming evbuffer? Will
this drop packages from the incoming stream and tell the incoming
client to send again (connection is tcp)?
___
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users


[Libevent-users] Guides for switching from select to libevent.

2009-09-20 Thread Harold Feit
Does anyone know of any well-written guides for switching an application
from select based socket handling to libevent?
___
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users