curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. 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 himself.

Re: MQTT username support

From: Dan Fandrich via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 21 May 2021 15:57:10 -0700

On Fri, May 21, 2021 at 05:46:40PM -0400, Gealber Morales via curl-library wrote:
> In order to improve this, it would be nice to at least not be required the
> password to be supplied. Looking at the command line options, I don't found a
> way
> to supply just the user. In case you know, write me back, and I'll use that
> option instead, because this one is more appropriateĀ for supporting
> user-password.

You can just leave the password blank, e.g. "-u lolo:" in the tool. The API has
had separate CURLOPT_PASSWORD and CURLOPT_USERNAME options for a long time now.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-05-22