@bagder Just wanted to say thank you for the recording! 🙏
I just went back and watched it, and for someone like me who benefits immensely from the same material presented through different channels (documentation, quick starts, library headers, audio & video) it's a very good overview! ✨
@bagder I'm also very interested in the techniques you used to make libcurl so easy to work with - good docs, API design, etc.
Knowing what you know now, what are some of the tips and tricks you'd give to someone trying to build an easily embeddable library or SDK? Both general advice and also anything specific to C
Looking back over the years, it is kind of amazing how many refactors and overhauls we have done of the libcurl internals while still providing the exact same and functional API...
Today I learned about #trurl, a command-line tool for URL parsing and manipulation from the developer of #curl and #libcurl. Modify or extract URL hostnames, schemes, port numbers, and path and query segments, trim tracking data, encode spaces and other characters, and get everything as either JSON or readable text output. https://github.com/curl/trurl
if you ever miss anything in terms of docs for #curl or #libcurl, or if there is ever any detail that makes it not score 10 out of 10, then please let me know.
@bagder curlopt ssh privkey page doesn't mention that libssh2+gxrypt combo doesn't support extracting pubkey from privkey. Also I think id_rsa/id_dsa defaults are only used with libssh2. Does WolfSSL support pubkey at all? And libssh can do ed25519
@aketzu lots of details there are SSH library specific, that also changes between versions. It's very hard for libcurl to have an exhaustive description of the myriad of combinations that can be used.. libssh2 speaks ed25519 as well and yes wolfSSH supports pubkey but curl's wolfSSH backend is a little incomplete so maybe there are things lacking...
@bagder have you considered enabling compression by default in curl/libcurl? Given the large number of bots and other automation on the net that make use of it, seems like having that on by default could have a sizable impact on the amount of global network traffic. #curl#libcurl#http#compression#webperf
In a forum someone was asking for a TLS-able mail client for #MSDOS. #DOjS has a #libcurl plugin with #TSL support through #mbedTLS. #curl supports #IMAP and #SMTP. So I should be able to add that support to DOjS.
Now $somebody only needs to write a mail client in #Javascript and we are done...🤔