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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about stream buffer and proxying #44

Open
tcrowe opened this issue Jun 21, 2019 · 0 comments
Open

Question about stream buffer and proxying #44

tcrowe opened this issue Jun 21, 2019 · 0 comments

Comments

@tcrowe
Copy link

tcrowe commented Jun 21, 2019

Hi @samcday 馃憢 I was wondering you can help me with an idea I was trying to use this module, stream-buffers, for.

  1. I accept a Socket from a TCP connection
  2. Pipe to a transform stream
  3. Pipe to writable stream buffer
  4. Try to get Host: 127.0.0.1:1234 from the transform
  5. Connect to some other host
  6. Pipe writable stream buffer out to other host

I don't think this is a problem with the module at all. I think I'm not understanding how it works. Have you ever done this or thought about this scenario? If so I would be happy to hear your thoughts or read a resource you recommend.

Thank you 馃憤

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

No branches or pull requests

1 participant