Skip to content

Question about stream buffer and proxying #44

@tcrowe

Description

@tcrowe

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 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions