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

feat: new socket layer #749

Merged
merged 85 commits into from
Apr 20, 2021
Merged

feat: new socket layer #749

merged 85 commits into from
Apr 20, 2021

Conversation

James-Frowen
Copy link
Member

@James-Frowen James-Frowen commented Mar 30, 2021

Peer isn't completely finished by it is ready enough to be merged so that we can start integrating it into mirage in other PR.

This PR is not breaking, but future PR that replace old transport with Peer will be.

Todo:

  • Send notify
  • Send Reliable
  • Pool buffer
  • handle invalid packets

Future:

  • multithread support
  • validate new connections
    • key/phrase
    • hashcash

Resources:

@James-Frowen James-Frowen added this to In progress in Architecture Rewrite via automation Mar 30, 2021
@James-Frowen James-Frowen mentioned this pull request Mar 30, 2021
13 tasks
@James-Frowen James-Frowen marked this pull request as draft March 30, 2021 00:54
@James-Frowen James-Frowen changed the title new socket layer feat: new socket layer Apr 13, 2021
@James-Frowen
Copy link
Member Author

James-Frowen commented Apr 14, 2021

  • remove BatchSendQueue
  • remove PeerUpdater
  • split up acksystem.cs
  • doc comments for Connection.cs
  • move connection state to enums? or split up enums
  • IDataHandler rename to receive packet
    • document what a packet is
  • ISocket fix doc comment
  • ISocket add doc comment for close
  • is packet.cs worth it?
  • improve comment in SocketCreator
  • unit test for bufferpool?
  • unit test for ConnectKeyValidator

@James-Frowen James-Frowen marked this pull request as ready for review April 16, 2021 01:13
@sonarcloud
Copy link

sonarcloud bot commented Apr 20, 2021

@James-Frowen James-Frowen merged commit fb84452 into master Apr 20, 2021
Architecture Rewrite automation moved this from In progress to Done Apr 20, 2021
@James-Frowen James-Frowen deleted the peer-1 branch April 20, 2021 15:25
github-actions bot pushed a commit that referenced this pull request Apr 20, 2021
# [88.1.0](v88.0.0...v88.1.0) (2021-04-20)

### Features

* new socket layer ([#749](#749)) ([fb84452](fb84452))
@github-actions
Copy link
Contributor

🎉 This PR is included in version 88.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants