apache / apache/couchdb-nano

http and https

Open
#336 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
689
Forks
167
Avg merge
1h
Merged PRs (30d)
1

Description

I have a use case where the couchdb server may be SSL protected (https port 6984). For generality, I'd like to probe both choices and use the successful one.

I tried opening 2 instances of nano, one for http and one for https but it seems that the first invocation sets some internal flags so the second one points to the first. Perhaps cookies?

This is on current version of couchdb and nano. (a fresh install).

In general, either 2 separate couchdb connections should be possible (and documented), or there should be a way to close and reopen with fresh address.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Reproduce the two-instance HTTP/HTTPS case on a fresh Nano and inspect how connection addresses and internal state are initialized; done when separate connections work independently or a documented close-and-reopen path is provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.