Skip to content
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

SocketHeld::new refactor #294

Merged
merged 2 commits into from
Oct 29, 2022
Merged

SocketHeld::new refactor #294

merged 2 commits into from
Oct 29, 2022

Conversation

Jamyw7g
Copy link
Contributor

@Jamyw7g Jamyw7g commented Oct 20, 2022

Description

Reduce SocketHeld::new verbose code. And make it support both ipv4 and ipv6.

@netlify
Copy link

netlify bot commented Oct 20, 2022

Deploy Preview for robyn canceled.

Name Link
🔨 Latest commit 3cd94b0
🔍 Latest deploy log https://app.netlify.com/sites/robyn/deploys/63529ccf2b0839000b66d348

Copy link
Member

@sansyrox sansyrox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wow!

@sansyrox
Copy link
Member

@Jamyw7g , I didn't realise this was still in draft.

@Jamyw7g
Copy link
Contributor Author

Jamyw7g commented Oct 21, 2022

@sansyrox I want to make it support both ipv4 and ipv6. I will submit a new commit.

@sansyrox
Copy link
Member

sansyrox commented Oct 23, 2022

Okay @Jamyw7g , lmk whenever it is up for review.

@Jamyw7g
Copy link
Contributor Author

Jamyw7g commented Oct 24, 2022

That's all.

@sansyrox sansyrox marked this pull request as ready for review October 26, 2022 16:13
Copy link
Member

@sansyrox sansyrox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just need to verify it on a windows machine.

Great work! ❇️

@sansyrox
Copy link
Member

@guilefoylegaurav , I am unable to add you as a reviewer idk why. Can you please have a look? Thank you again 😄

@guilefoylegaurav
Copy link
Contributor

@guilefoylegaurav , I am unable to add you as a reviewer idk why. Can you please have a look? Thank you again 😄

Np, @sansyrox - I have examined the PR. I have merged this PR branch into one reflecting main, in my local Windows machine and ran tests.

  • 25/26 tests passed (Windows 10)
  • Our familiar test_global_index_request() has been failing on Windows since the last few PRs customarily, even before this PR was merged
  • The rest of the tests ran successfully

LGTM!

test_base_url.py ..F.                                                                                            [ 15%]
test_delete_requests.py ..                                                                                       [ 23%]
test_env_populator.py .                                                                                          [ 26%]
test_get_requests.py ......                                                                                      [ 50%]
test_patch_requests.py ..                                                                                        [ 57%]
test_post_requests.py ....                                                                                       [ 73%]
test_put_requests.py ..                                                                                          [ 80%]
test_status_code.py ....                                                                                         [ 96%]
test_web_sockets.py .                                                                                            [100%]

====================================================== FAILURES =======================================================
______________________________________________ test_global_index_request ______________________________________________

@sansyrox
Copy link
Member

Thanks @guilefoylegaurav 😄

@sansyrox sansyrox merged commit 9703b9e into sparckles:main Oct 29, 2022
@Jamyw7g Jamyw7g deleted the dev branch November 1, 2022 06:23
Shending-Help pushed a commit to Shending-Help/robyn that referenced this pull request Nov 3, 2022
* `SocketHeld::new` refactor

* Support both ipv4 and ipv6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants