benoitc / couchbeam

Apache CouchDB client in Erlang
Other
242 stars 114 forks source link

couchbeam:server_connection/2 causing tls_alert error #104

Closed kofron closed 10 years ago

kofron commented 10 years ago

On line 156 of couchbeam.erl, the server prefix is "https://". However, the case clause where https is appropriate seems to be matched on line 154.

Changing the prefix to "http://" fixes this issue. Is this correct behavior or should I submit a pull request?