ProxymanApp / ProxymanApp/Proxyman

Rewrite ProxymanCore with Swift NIO

Open
#500 5 comments 8 reactions 1 assignee View on GitHub

@NghiaTranUIT is already working on this.

Since May 8, 2020.

✅ Done
Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

Description

ProxymanCore v1 is built on top of CocoaAsyncSocket, which has some major problems:

  • Don't Support HTTP/2, we have to manually implement it, which is error-prone
  • Not an HTTP Server, so we have to deal with all HTTP Message Parsers
  • CocoaAsyncSocket doesn't seem active anymore. We encountered random crashes from deep inside the socket with no reason. (Ex: Crash in SSL_Handshake, closeSocket, ...)
  • ProxymanCore v1 architecture is not good for extending for future features, such as SOCK Proxy, ReWrite, gRPC...
  • Poor performance in some cases since CocoaAsycnSocket doesn't tend for high-performance network tools with multiple incoming/outcoming requests, response

It's time to move to Swift NIO, which is a cross-platform asynchronous event-driven network application framework for rapid development of maintainable high-performance protocol servers & clients.
Other benefits would be:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.