From 5d201cc4d50d3b23beef6a9f64ab3307176e5661 Mon Sep 17 00:00:00 2001 From: totoro Date: Fri, 22 Nov 2013 17:18:03 +0100 Subject: [PATCH] message_receiver is now public --- net_services/CXM_net_services.anubis | 2 +- web/CXM_multihost_http_server.anubis | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net_services/CXM_net_services.anubis b/net_services/CXM_net_services.anubis index b326155..872d54b 100644 --- a/net_services/CXM_net_services.anubis +++ b/net_services/CXM_net_services.anubis @@ -152,7 +152,7 @@ define One /** * this function unflatten muscle message and give the correct message to service_negociation function */ -define One +public define One message_receiver ( MessageQueue queue, diff --git a/web/CXM_multihost_http_server.anubis b/web/CXM_multihost_http_server.anubis index b4d8a1e..70d6d13 100644 --- a/web/CXM_multihost_http_server.anubis +++ b/web/CXM_multihost_http_server.anubis @@ -3571,16 +3571,16 @@ define Server -> ((RWStream) -> One) ( Var(List(DispatcherInfo)) info_v, DenialOfService dos, - SState s + SState ss ) = (Server server) |-> (RWStream conn) |-> with start_time = (Int)now, connection = buffered_connection(tcp(conn), var(constant_byte_array(0, 0)), var(0)), - if read_request_line(connection, start_time+*request_line_delay(dos), dos, s) is + if read_request_line(connection, start_time+*request_line_delay(dos), dos, ss) is { error(msg) then print(format(msg)), ok(request_line) then - if read_http_headers(connection, start_time+*headers_delay(dos), dos, s) is + if read_http_headers(connection, start_time+*headers_delay(dos), dos, ss) is { error(msg) then print(format(msg)), ok(headers) then if get_host_header_value(headers) is -- libgit2 0.21.4