Hi, all
I try to add nonblocking connect for libevent-iocp backend.
Currently, when we use nonblocking connect with libevent, the source maybe like
this:
s = socket( ... );
setnonblock( s );
connect(s,(struct sockaddr *)dest_addr,(socklen_t)sizeof(dest_addr));
event_add( ... );
event_loop();
Hi,
http://spserver.googlecode.com/files/libevent-1.4.5-stable-iocp-1.zip
Integrate iocp backend with libevent-1.4.5-stable.
The win32iocp source code is the same as libevent-main-iocp-1.zip
Changes since libevent-1.4.4-iocp-3.zip:
1.Remove EV_ACCEPT flag, use getsockopt(SO_ACCEPTCONN) to
Hi, arthur
Try this :
/*
* Disable event ports when this environment variable is set
*/
if (getenv(EVENT_NOEVPORT))
return (NULL);
Best regards,
liusifan
2008-06-21
My porxy is built with libevent v1.4.4-stable. After accepting client
Hi, Richter
Thanks for your tips ! The way you mention works well.
The full package:
http://spserver.googlecode.com/files/libevent-main-iocp-1.zip
Changes:
1.Remove EV_ACCEPT flag, use getsockopt(SO_ACCEPTCONN) to distinguish
accept/read,
so it's compatible with the old code now.
2.Using
Hi, juanito
Which version are you using?
You can try this one:
http://www.monkey.org/~provos/libevent-1.4.4-stable.tar.gz
Best regards,
Stephen Liu
2008-06-16
Hi,
Anyone could give me some tips how to compile libevent with windows ?
When openning WIN32-Prj\libevent.dsw, it says the
0;
}
liusifan
2008-06-12
___
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users
Hi, all
Libevent svn main trunk cannot build with vs2008.
The patch is in attachment.
Changes: Rename INPUT to EVRPC_INPUT and OUTPUT to EVRPC_INPUT
The following definition is conflict with system header.
==
libevent/evrpc.h
enum
Mostly test cases of regress.c are passed.
These are some changes since the libevent-1.4.4-iocp.zip
Please check the diff file as attachment.
The following test cases are failure or cann't be compiled.
I will pay more time to get these test cases to pass.
test_bufferevent_watermarks(); fail,
,
liusifan
[EMAIL PROTECTED]
2007-05-10
___
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users
Hi,
Please look at the comment of the function:
/*
* Replaces , , , ' and with lt;, gt;, quot;,
* #039; and amp; correspondingly.
*
* The returned string needs to be freed by the caller.
*/
char *
evhttp_htmlescape(const char *html)
liusifan
of libevent:
LIBEVENT_INCL = -Ipath_to_libevent_include
LIBEVENT_LIB = -Lpath_to_libevent_library -levent
best regard,
liusifan
[EMAIL PROTECTED]
2007-05-11
=== 2007-05-11 00:59:56 您在来信中写道:===
Hi Liusifan!
$ svn checkout
Hi,Elliot
Niels announces here
http://monkeymail.org/archives/libevent-users/2007-February/000547.html
best regards,
stephen
=== 2007-05-11 00:36:27 您在来信中写道:===
James Yonan wrote:
I'd like to know if anyone has developed a simple HTTP proxy based on
the evhttp layer?
This would
12 matches
Mail list logo