Commits

Anonymous committed dade1cb

Avoid sending exit mesages from lhttpc_client if not needed.

  • Participants
  • Parent commits 304fc9f

Comments (0)

Files changed (1)

File src/lhttpc_client.erl

             {exit, self(), {Error, erlang:get_stacktrace()}}
     end,
     From ! Result,
+    % Don't send back {'EXIT', self(), normal} if the process
+    % calling us is trapping exits
+    unlink(From), 
+    
     ok.
 
 execute(Host, Port, Ssl, Path, Method, Hdrs, Body, Options) ->