Skip to content

Commit

Permalink
Reverting previous revision.
Browse files Browse the repository at this point in the history
  • Loading branch information
fdmanana committed Sep 16, 2010
1 parent fd8c6f0 commit c8a9484
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions couchdb-1.0.1/src/ibrowse/ibrowse_http_client.erl
Expand Up @@ -437,7 +437,7 @@ do_connect(Host, Port, Options, #state{is_ssl = true,
Caller_socket_options = get_value(socket_options, Options, []),
Other_sock_options = filter_sock_options(SSLOptions ++ Caller_socket_options),
ssl:connect(Host, Port,
[{ssl_imp, new}, binary, {nodelay, true}, {active, false} | Other_sock_options],
[binary, {nodelay, true}, {active, false} | Other_sock_options],
Timeout);
do_connect(Host, Port, Options, _State, Timeout) ->
Caller_socket_options = get_value(socket_options, Options, []),
Expand Down Expand Up @@ -1009,7 +1009,7 @@ upgrade_to_ssl(#state{socket = Socket,
connect_timeout = Conn_timeout,
ssl_options = Ssl_options,
tunnel_setup_queue = Q} = State) ->
case ssl:connect(Socket, [{ssl_imp, new} | Ssl_options], Conn_timeout) of
case ssl:connect(Socket, Ssl_options, Conn_timeout) of
{ok, Ssl_socket} ->
do_trace("Upgraded to SSL socket!!~n", []),
State_1 = State#state{socket = Ssl_socket,
Expand Down

0 comments on commit c8a9484

Please sign in to comment.