libredfish icon indicating copy to clipboard operation
libredfish copied to clipboard

Support unix domain sockets via 'unix://' in hostname

Open dchanman opened this issue 5 years ago • 2 comments

We were wondering if there was any interest in supporting unix domain sockets in libredfish.

For velocity's sake, we are just hackishly treating a hostname with "uds://" prepended as a unix domain socket path. This has been working so far, but we're open to suggestions on how you might want this to look nicer in the library.

dchanman avatar Jun 22 '20 23:06 dchanman

I'd imagine we'd need more ifdef guards if we want to support versions of libcurl that don't have CURLOPT_UNIX_SOCKET_PATH defined.

We could fix that up later, but for now we're just looking for feedback on whether this looks reasonable or not.

dchanman avatar Jun 23 '20 14:06 dchanman

This is already done in registerForEventsAsync() do we absolutely have to add it to this interface?

pboyd04 avatar Jun 25 '20 19:06 pboyd04

Closing; no longer needed

mraineri avatar Mar 31 '23 19:03 mraineri

Yes looks like we have an alternative.

dchanman avatar Mar 31 '23 19:03 dchanman