diff --git a/src/ibrowse.app.src b/src/ibrowse.app.src index facdfcd..1d88084 100644 --- a/src/ibrowse.app.src +++ b/src/ibrowse.app.src @@ -1,13 +1,7 @@ {application, ibrowse, [{description, "Erlang HTTP client application"}, {vsn, "4.0.1"}, - {modules, [ ibrowse, - ibrowse_http_client, - ibrowse_app, - ibrowse_sup, - ibrowse_lib, - ibrowse_lb ]}, - {registered, []}, + {registered, [ibrowse_sup, ibrowse]}, {applications, [kernel,stdlib]}, {env, []}, {mod, {ibrowse_app, []}}]}. diff --git a/src/ibrowse_http_client.erl b/src/ibrowse_http_client.erl index 59b9e08..c01385a 100644 --- a/src/ibrowse_http_client.erl +++ b/src/ibrowse_http_client.erl @@ -996,7 +996,7 @@ chunk_request_body(Body, _ChunkSize, Acc) when is_list(Body) -> parse_response(<<>>, #state{cur_req = undefined}=State) -> State#state{status = idle}; -parse_response(Data, #state{cur_req = undefined}=State) -> +parse_response(Data, #state{cur_req = undefined}) -> do_trace("Data left to process when no pending request. ~1000.p~n", [Data]), {error, data_in_status_idle};