Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
epoll committed Feb 24, 2012
1 parent 69931a7 commit 9338ed8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/keepalive/keepalive.erl
Expand Up @@ -28,7 +28,8 @@
-define(LOOP, {?MODULE, loop}).

start(Options = [{port, _Port}]) ->
mochiweb_http:start([{name, ?MODULE}, {loop, ?LOOP}, {hook_modules, [mochiweb_mod_cache]} | Options]).
mochiweb_http:start([{name, ?MODULE}, {loop, ?LOOP} | Options]).
%mochiweb_http:start([{name, ?MODULE}, {loop, ?LOOP}, {hook_modules, [mochiweb_mod_cache]} | Options]).

loop(Req) ->
Path = Req:get(path),
Expand Down

0 comments on commit 9338ed8

Please sign in to comment.