diff --git a/src/fd_httpd_client.erl b/src/fd_httpd_client.erl index e1bdd76..8108549 100644 --- a/src/fd_httpd_client.erl +++ b/src/fd_httpd_client.erl @@ -138,7 +138,10 @@ loop(Parent, Debug, State = #s{socket = Socket, next = Next0}) -> %% FIXME: unfuck received logic here %% handle_request should eventually call back into %% loop/3 or close the socket - Next2 = + %% + %% also loop/3 should be loop/1, because we need to pass + %% the state down the callchains + Next2 = unfuck_retarded_qhl_bullshit(Next1), case Next1 of none -> <<>>; Bin -> Bin