-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Http refactor #3842
Http refactor #3842
Conversation
052935d
to
e0eb25d
Compare
e0eb25d
to
a4ae970
Compare
4ffba70
to
a434215
Compare
7ad626a
to
fc2f498
Compare
16f6a8d
to
8eac907
Compare
The failure is possibly due to golangci/golangci-lint#138 |
8eac907
to
2db05a3
Compare
600d1e0
to
8f4e538
Compare
@innovate-invent |
@ivandeex absolutely, thanks |
If you can re-write the commit history into a small number of logical changes then it will make it much easier to review and it will look good in the commit log. I think this change (which is quite big) should probably be more than one commit. Thanks |
5197fb4
to
469c78a
Compare
Can you rebase it on master to get rid of the merge commit? I need to give this another review - will try to find time this week. |
I'll rebase, but master is a moving target |
9c92342
to
5dec9a1
Compare
@ncw Just pushed a minor tweak and now it is saying you need to approve workflows? |
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.
I think this is looking very good :-)
It is a nice re-organization of the http code.
I put a small number of minor comments inline for you to take a look at.
5dec9a1
to
2e86505
Compare
2e86505
to
0e477e4
Compare
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.
I'm happy with these changes now so I'll merge them now :-)
Can you fix the conflict first though? Rebase on master should do it.
Thanks
lib/http provides an abstraction for a central http server that services can bind routes to
0e477e4
to
987806b
Compare
Rebase completed, I'll open PRs refactoring the other services ASAP. |
I'll merge that now. Thank you for your great work and sorry it has taken so long to merge. Look forward to the next commits in the series :-) Thanks |
What is the purpose of this change?
Refactor http server code to abstract away the http server from the http services.
Was the change discussed in an issue or in the forum before?
https://forum.rclone.org/t/http-upload-contribution/13271/34
Checklist