Skip to content

ziti.connect(): does not work on windows #144

@ekoby

Description

@ekoby

how it is not working:

  • ziti.connect uses uv_socketpair() to bridge ziti_connection
  • on win32 uv_socketpair() creates TCP socket handles
  • when one end is passes to nodejs it is detected as UV_NAMED_PIPE using uv_guess_handle()
    • (need to call uv_open_osfhandle() to get it to work -- this also dangerous is original handle is consumed)
  • uv_pipe_open fails with either original SOCKET or result of uv_open_osfhandle()

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions