curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: vsock support

From: snek via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 03 Apr 2025 11:04:15 +0200

I don't think any mainstream servers support it directly at the moment. Tools like unsock can shim them to use unix/vsock so I think they haven't felt a huge need to add it directly. That being said, I am currently adding vsock support to Deno's http server, which is a non-zero audience, though perhaps not "mainstream".

On Thu, Apr 3, 2025, at 10:59, Daniel Stenberg wrote:
> On Thu, 3 Apr 2025, snek via curl-library wrote:
>
> > Sorry I think there's been a misunderstanding. vsock sockets are roughly
> > analogous to unix sockets in terms of their supported behavior. Like with
> > unix sockets, curl could act as a client for the various http protocols that
> > it supports. I am running an http server on a vsock socket, and I often use
> > curl to interact with http servers, so I thought it would be convenient to
> > support vsock sockets.
>
> I think an existing use case such as this is a proper motivation for us to
> consider supporting vsock. Sounds fun!
>
> Is the vsock support offered in a "mainstream" http server or are you running
> something custom?
>
> --
>
> / daniel.haxx.se || https://rock-solid.curl.dev
>


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-04-03