-
Notifications
You must be signed in to change notification settings - Fork 114
HTTP Proxy Jump Service Features #812
Comments
These features must be resolved in #305/#337 before they are resolved here.
Don't confuse i2p streaming with byte streaming - they are very different.
Subscriptions are meant to be shared, what do you mean by this? |
Happy to start working on those issues first, or in parallel with jump service features that don't depend on loading from multiple hosts files. I'll edit the OP to indicate dependent issues.
I was confusing them, thanks for the heads up.
I was referring to discussion in #385 about a possible database or openldap implementation for various components. So, to cut down on refactoring, I was trying to think of a way to be agnostic about how storage is actually implemented. Do you think it will be necessary / a good idea to write wrappers around storage functions? |
That would be a good idea.
If you really want to hide the implementation, using the pimpl idiom could be helpful. In terms of interface, keep in mind the other uses of the database library (netdb for example). |
For testing and error handling, HTTPMessage::HandleJumpService returns true on success, and false on failures. Referencing monero-project#812
Straightforward unit test to ensure valid jump service GET parameters are parsed correctly. Referencing monero-project#812
Changes how HandleJumpService parses HTTP request headers to properly search for the jump service address helper in the URI, instead of the path. Referencing monero-project#812
Just read through some docs on pimpl [cppreference] [gotw_100]. Going to re-read (and re-re-read) the docs, and come up with a pimpl design for |
NOTICE: THIS ISSUE HAS BEEN MOVED TO GitLab. Please continue the discussion there. See #1013 for details. |
By submitting this issue, I confirm the following:
After looking through the TODOS 1 2 for
HTTPMessage::HandleJumpService
, I came up with some ideas for a redesign.edit: add prerequisite issues, reformat as task list
Below are what I understand to be the required features of the jump service handler.
Some are already implemented, others are new proposals:
HTTPMessage::HandleJumpService()
to bool return for testingRelated Kovri source files:
Related Java2P source files:
Referencing #305 #337 #338 #811
The text was updated successfully, but these errors were encountered: