From 787e078f6a9be1b8e6e76d6f07860b35132c858e Mon Sep 17 00:00:00 2001 From: Pablo Polvorin Date: Thu, 4 Feb 2010 18:55:43 +0000 Subject: [PATCH] Hibernate http-bind process after handling a request. When using BOSH, this reduces memory consuption of the http-bind process, with negligible CPU impact. SVN Revision: 2960 --- src/web/ejabberd_http_bind.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl index 43fd9ecfd..c76125c3c 100644 --- a/src/web/ejabberd_http_bind.erl +++ b/src/web/ejabberd_http_bind.erl @@ -753,7 +753,7 @@ process_buffered_request(Reply, StateName, StateData) -> Request, StateName, StateData#state{unprocessed_req_list = NewRequests}); _ -> - {reply, Reply, StateName, StateData} + {reply, Reply, StateName, StateData, hibernate} end. handle_http_put(Sid, Rid, Attrs, Payload, PayloadSize, StreamStart, IP) ->