Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed --config=libev build #755

Merged
merged 1 commit into from
Jul 30, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion source/vibe/core/drivers/libev.d
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ final class LibevDriver : EventDriver {
assert(false);
}

private LibevTCPListener listenTCPGeneric(SOCKADDR)(int af, SOCKADDR* sock_addr, ushort port, void delegate(TCPConnection conn) connection_callback)
private LibevTCPListener listenTCPGeneric(SOCKADDR)(int af, SOCKADDR* sock_addr, ushort port, void delegate(TCPConnection conn) connection_callback, TCPListenOptions options)
{
auto listenfd = socket(af, SOCK_STREAM, 0);
if( listenfd == -1 ){
Expand Down Expand Up @@ -483,6 +483,7 @@ final class LibevTCPConnection : TCPConnection {
int m_eventsExpected = 0;
Appender!(ubyte[]) m_writeBuffer;
bool m_tcpNoDelay = false;
bool m_keepAlive = false;
Duration m_readTimeout;
}

Expand Down
2 changes: 1 addition & 1 deletion source/vibe/core/drivers/native.d
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module vibe.core.drivers.native;

version (VibeLibevDriver) {
import vibe.core.drivers.libev;
alias NativeEventDriver = Win32EventDriver;
alias NativeEventDriver = LibevDriver;
} else version (VibeLibeventDriver) {
import vibe.core.drivers.libevent2;
alias NativeEventDriver = Libevent2Driver;
Expand Down