-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Origin driver issues: surrogatepass and scheme checking #12
Conversation
@@ -52,7 +52,7 @@ def __init__( | |||
self.verify_certs = verify_certs | |||
|
|||
self.base_url = URL('http%s://%s:%d%s/' % ( | |||
's' if use_ssl else '', host, port, self.url_prefix, | |||
's' if self.use_ssl else '', host, port, self.url_prefix, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В оригинальном драйвере пробрасывается (пруф) scheme
. А у нас scheme
строится только на основе use_ssl
. Это норм?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@froosty у нас немає своєї логіки побудови scheme
, вона інкапсульована в оригінальному драйвері
https://github.com/litwisha/aioelasticsearch/blob/origin-driver-issues/aioelasticsearch/connection.py#L34
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe its better to stick with english guys, its not an inner project.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@a-urth thx, we'll talk to them ;)
port issues fixes from original
elasticsearch-py
driver: