bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58925: 29.0.50; url-open-stream has no option pass tls options per c


From: Stefan Kangas
Subject: bug#58925: 29.0.50; url-open-stream has no option pass tls options per call
Date: Sat, 12 Nov 2022 12:34:26 -0800

tags 58925 + wontfix
close 58925
thanks

Björn Bidar <bjorn.bidar@thaodan.de> writes:

> Robert Pluim <rpluim@gmail.com> writes:
>
>>>>>>> On Mon, 31 Oct 2022 13:35:16 +0200, Björn Bidar via "Bug reports for 
>>>>>>> GNU Emacs, the Swiss army knife of text editors" 
>>>>>>> <bug-gnu-emacs@gnu.org> said:
>>
>>     Björn> While investigating who to use magit with tls client certificates
>>     Björn> I noticed that url-open-stream has no option to pass options to
>>     Björn> network-open-stream on a per connection basis to do thing like 
>> e.g.
>>     Björn> request the use of tls client certificates.
>>
>>     Björn> If this was possible the client could be able to call url with 
>> something
>>     Björn> like (url-http "https://example.com"; 'my-cb gw-options) to pass 
>> more
>>     Björn> options to the specific gateway that is used.
>>
>>     Björn> I know it is possible to use 
>> network-stream-use-client-certificates
>>     Björn> however that might be not always as elegant to use.
>>
>> Elegance is in the eye of the beholder :-)
>> `network-stream-use-client-certificates' lets you configure which
>> client certificate is used for a host via auth-source. What other
>> options did you have in mind?
>
> As I said the option to pass options to the gw by something like a list
> witn gw-options as an optional argument.
>
> I don't think that would break existing usecases however I agree with
> Stefan Kangas point of view.

Thanks, no further comments within a week, so I'm closing this bug
report.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]