dio icon indicating copy to clipboard operation
dio copied to clipboard

Http2 proxy

Open Overman775 opened this issue 2 years ago • 5 comments

New Pull Request Checklist

  • [X] I have read the Documentation
  • [X] I have searched for a similar pull request in the project and found none
  • [X] I have updated this branch with the latest develop to avoid conflicts (via merge from master or rebase)
  • [ ] I have added the required tests to prove the fix/feature I am adding
  • [X] I have updated the documentation (if necessary)
  • [X] I have run the tests and they pass

This merge request fixes / refers to the following issues: #1259 #905

Pull Request Description

Added proxy tunnel to http2 adaptor

Overman775 avatar Jan 16 '22 22:01 Overman775

@ueman @kuhnroyal plese check PR 😃

Overman775 avatar Jan 19 '22 20:01 Overman775

@Overman775 You should really write tests covering these changes. Otherwise, somebody could break this functionality without noticing.

Also please don't tick the checkbox which says that you've written tests, if you don't have written tests.

I'm also not a maintainer of this library, but I believe the maintainer would agree in most cases.

Overall it looks already promising and it would be a great addition to the library 👍

ueman avatar Jan 19 '22 20:01 ueman

@Overman775 You should really write tests covering these changes. Otherwise, somebody could break this functionality without noticing.

Also please don't tick the checkbox which says that you've written tests, if you don't have written tests.

I'm also not a maintainer of this library, but I believe the maintainer would agree in most cases.

Overall it looks already promising and it would be a great addition to the library 👍

There were no tests initially, it is difficult to write tests for Socket. This code does not contain breakin changes

Overman775 avatar Jan 21 '22 08:01 Overman775

@ueman @kuhnroyal pleace check PR with test @yfdyh000

Overman775 avatar Apr 04 '22 09:04 Overman775

any updates? lets merge it @ueman @kuhnroyal 😀

karabanovbs avatar Jul 01 '22 09:07 karabanovbs

Hello, could you see this pr? @wendux

chejdj avatar Oct 18 '22 09:10 chejdj

@Overman775 Are you still able to work on this?

AlexV525 avatar Feb 10 '23 06:02 AlexV525

@Overman775 Are you still able to work on this?

Thought it would never happen ) I will update the PR soon

Overman775 avatar Feb 12 '23 11:02 Overman775

Thought it would never happen ) I will update the PR soon

For now you can consider to purpose the PR to diox since dio is not going to maintain anymore.

AlexV525 avatar Feb 12 '23 11:02 AlexV525

Or you can hold on for a couple of days, we have some incoming changes that need to announce. :)

AlexV525 avatar Feb 13 '23 02:02 AlexV525

@Overman775 Are you still able to work on this?

Thought it would never happen ) I will update the PR soon

Or you can hold on for a couple of days, we have some incoming changes that need to announce. :)

Now dio will continue to be maintained by the CFUG organization, diox has been migrated to dio, you can continue your work and join in dio.

talisk avatar Feb 15 '23 10:02 talisk

Test added. the test requires a proxy server, do you have any ideas how to check? The use of free proxies is extremely unstable I have not seen a local http proxy server on dart

Overman775 avatar Feb 17 '23 16:02 Overman775

will this work on web as well?

vento007 avatar Feb 20 '23 06:02 vento007

will this work on web as well?

this plugin don't support web

Overman775 avatar Feb 20 '23 11:02 Overman775

Hey, guys I wanted to get started supporting and contributing to this package, I need someone to onboard me. You can DM me directly on [email protected]

simonpojok avatar Feb 25 '23 17:02 simonpojok

Test added. the test requires a proxy server, do you have any ideas how to check?

Do we have a minimum requirement for setting up an HTTP/2 proxy?

AlexV525 avatar Feb 26 '23 15:02 AlexV525

Do we have a minimum requirement for setting up an HTTP/2 proxy?

simple http\https proxy with normal latency theoretically, we can run a local proxy server on github actions

Overman775 avatar Feb 27 '23 18:02 Overman775

simple http\https proxy with normal latency theoretically, we can run a local proxy server on github actions

Sounds good. You can follow how the server is being setup in the existing tests to write startup the proxy in the proxy tests.

AlexV525 avatar Feb 28 '23 01:02 AlexV525

simple http\https proxy with normal latency theoretically, we can run a local proxy server on github actions

Sounds good. You can follow how the server is being setup in the existing tests to write startup the proxy in the proxy tests.

all done, added proxy server on test flow. Please approve new test actions https://github.com/cfug/dio/actions/runs/4317864902

Overman775 avatar Mar 02 '23 20:03 Overman775

@AlexV525 When will the request be approved? Is there anything else that needs to be finalized?

Overman775 avatar Mar 22 '23 07:03 Overman775

Ah so you indeed didn't notice the previous comment as I imagine. See https://github.com/cfug/dio/pull/1386#discussion_r1128730582

AlexV525 avatar Mar 22 '23 07:03 AlexV525

Ah so you indeed didn't notice the previous comment as I imagine. See #1386 (comment)

@AlexV525 done )

Overman775 avatar Mar 22 '23 18:03 Overman775