Skip to content

Full picture of in memory listener and connection#13361

Closed
lambdai wants to merge 45 commits intoenvoyproxy:masterfrom
lambdai:hostconn
Closed

Full picture of in memory listener and connection#13361
lambdai wants to merge 45 commits intoenvoyproxy:masterfrom
lambdai:hostconn

Conversation

@lambdai
Copy link
Copy Markdown
Contributor

@lambdai lambdai commented Oct 1, 2020

A almost rewrite of #12537

Prototype of #11725

Implementations

  • buffered_io_socket_handle_impl
    Replaced the BufferSource transport socket. So existing transport socket could be supported. Special thank to @florincoras 's work dropping the file descriptor in transport sockets and other filters!
    This is an socket handle which owns a buffer. Think the buffer as the socket buffer in the kernel. This handle should be always created with a peer so that this handle could write to peer's buffer, and notify readable or writable signal along with read/write/shutdown.
  • new api in dispatcher
    Allow register internal listener and target listener when a client connection need to be created
  • new internal listener impl along with connection_handler
    Register internal listener by name and "accept" connection. Currently internal listener could simulate tcp listener but not udp listener.

Past work

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

Labels

api stale stalebot believes this issue/PR has not been touched recently

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants