bug in http client?

Joel Reymont <>
Tue Jun 9 19:49:13 CEST 2009

I would tentatively claim a bug as http client does not shut down the  
handlers when told to, e.g. in httpc_manager:terminate/2 which gets  
triggered with inets:stop(httpc, <profile>).

%% Function: terminate(Reason, State) -> _  (ignored by gen_server)
%% Description: Shutdown the httpc_handler
terminate(_, State) ->

My hunch is that httpc_manager needs to iterate through the handler  
database and shut down the individual handlers. Is this a bug?

	Thanks, Joel

Mac hacker with a performance bent

More information about the erlang-questions mailing list