Repository navigation
+ Redirect URL Storage - #6914
Conversation
|
Security considerations should be noted in setting description. |
|
@nikitamikhaylov You can merge after:
|
|
I'll do It.
@nikitamikhaylov is it ok for you?
|
|
If you are interested in it, that's ok for me :) |
|
@maqroll How things going? Do you need my help? Maybe it is better to reassign this task to me? |
@nikitamikhaylov If it's ok I'll report the status at the end of the day (in Spain) and you'll decide. |
Committer: maqroll <[email protected]>
|
@nikitamikhaylov I got here (no experience in C ++). Maybe you can use it, it depends entirely on you. Thanks. |
|
Ok. |
Committer: maqroll <[email protected]>
|
@nikitamikhaylov Last change compiles and works on basic tests. |
|
Ok, I see. But we need all test to be green. I will do it in some time. |
Committer: maqroll <[email protected]>
Committer: maqroll <[email protected]>
Committer: maqroll <[email protected]>
|
Working in the integration test. |
|
@nikitamikhaylov @alexey-milovidov got rid of try/catch & added integration test |
| out_stream_callback(stream_out); | ||
|
|
||
| istr = receiveResponse(*session, request, response); | ||
| istr = receiveResponse(*sess, request, response, true); |
There was a problem hiding this comment.
That's suspicious, need double check it...
There was a problem hiding this comment.
receiveResponse method before the change only accepted 200 code responses. That last parameter accepts redirects codes (307,...) as ok. That loop accepts redirects and checks max_redirects limit. I preferred to add a new parameter in receiveResponse instead of creating a new method.
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Category (leave one):
Short description (up to few sentences):
Support (optional) redirects on URL storage.
Detailed description (optional):
Set up max number of GET redirects on URL storage using max_http_get_redirects.
max_http_get_redirects=0 (default) means no redirects allowed.