1. Tamas Nagy
  2. lhttpc

Commits

Oscar Hellström  committed c41744d

Fix function clause if version is 1.0

  • Participants
  • Parent commits 567f9b6
  • Branches default

Comments (0)

Files changed (1)

File src/lhttpc_client.erl

View file
         ClientConnection =/= "close", ServerConnection =/= "close" ->
             Socket
     end;
-maybe_close_socket(Socket, Ssl, {0, _}, ReqHdrs, RespHdrs) ->
+maybe_close_socket(Socket, Ssl, _, ReqHdrs, RespHdrs) ->
     ClientConnection = ?CONNECTION_HDR(ReqHdrs, "keep-alive"),
     ServerConnection = ?CONNECTION_HDR(RespHdrs, "close"),
     if