I use libcurl to read multiple email accounts, of many different providers. I've found the latest versions of curl to be buggy, and their developers lackadaisical. I've had to resort to version 7.64.1 to get code that works. I'd avoid curl as a library for PureBasic.
Implement a full SSL/TLS library
- RichAlgeni
- Addict
- Posts: 914
- Joined: Wed Sep 22, 2010 1:50 am
- Location: Bradenton, FL
Re: Implement a full SSL/TLS library
Re: Implement a full SSL/TLS library
This is impossible
libcurl handles only the client stuff, but not the server side.
@RichAlgeni
if libcurl is so bad, why is it used by any linux distribution that I know?
Btw. did you apply a fix to the problem and send to them via
https://github.com/curl/curl/pulls
Re: Implement a full SSL/TLS library
then just a libcurl library? curl has some build in stuff , ready out-of-the-box if you are making a client app (which is the majority anyway)infratec wrote: ↑Wed May 11, 2022 7:09 amThis is impossible
libcurl handles only the client stuff, but not the server side.
@RichAlgeni
if libcurl is so bad, why is it used by any linux distribution that I know?
Btw. did you apply a fix to the problem and send to them via
https://github.com/curl/curl/pulls
Christos
- the.weavster
- Addict
- Posts: 1537
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
- RichAlgeni
- Addict
- Posts: 914
- Joined: Wed Sep 22, 2010 1:50 am
- Location: Bradenton, FL
Re: Implement a full SSL/TLS library
I didn't say it was necessarily bad, just that it was buggy. For that, I can't explain. Possibly because it is the Windows version? I provided detailed logs to the curl developers. I showed the differences between the versions. I asked them what more information I could provide. There response was sanctimonious, to say the least. I responded by asking them to reference the logs I provided. Their response was to chastise me for including user data. The user data I included was a test email account. While I was born at night, it wasn't last night. When I did not hear from them further, I followed up, again asking what more information I could provide. When again, I did not hear from them, I left, entirely appropriate in my opinion, a sarcastic response. Their response was to block me.infratec wrote: ↑Wed May 11, 2022 7:09 am @RichAlgeni
if libcurl is so bad, why is it used by any linux distribution that I know?
Btw. did you apply a fix to the problem and send to them via
https://github.com/curl/curl/pulls
Re: Implement a full SSL/TLS library
By already included you mean the "on linux curl is used blah blah blah"
I meanused as a high level layer. I.e. retrievehttpfile("rtsp:/blahblah") can used ? Since curl can
If an 3rd party libcurl exist please link..
Christos
Re: Implement a full SSL/TLS library
It is used by the inbuild HTTPRequest() stuff.
And you can also use it by your own via libcurl.pbi
https://www.purebasic.fr/english/viewto ... 71#p566971
With this libcurl.pbi you can also use the latest libcurl.dll file.
I use it also to access imaps.
FTPS example:
https://www.purebasic.fr/english/viewto ... 74#p562174
And you can also use it by your own via libcurl.pbi
https://www.purebasic.fr/english/viewto ... 71#p566971
With this libcurl.pbi you can also use the latest libcurl.dll file.
I use it also to access imaps.
FTPS example:
https://www.purebasic.fr/english/viewto ... 74#p562174
- RichAlgeni
- Addict
- Posts: 914
- Joined: Wed Sep 22, 2010 1:50 am
- Location: Bradenton, FL
Re: Implement a full SSL/TLS library
I don't know what to tell you. I used the same exact code, except for the version of curl. I even downloaded the curl dll's from the curl github site. The newer version would not connect, or would fail during the curl commands, with godaddy, outlook and gmail email servers. The older version works, but sometimes does not delete or copy the email. I ended up writing a work around for that.infratec wrote: ↑Fri May 13, 2022 11:15 am It is used by the inbuild HTTPRequest() stuff.
And you can also use it by your own via libcurl.pbi
https://www.purebasic.fr/english/viewto ... 71#p566971
With this libcurl.pbi you can also use the latest libcurl.dll file.
I use it also to access imaps.
FTPS example:
https://www.purebasic.fr/english/viewto ... 74#p562174
I'm sorry I haven't gotten back to you on your TLS code, I am in the process of remodeling a house.
- RichAlgeni
- Addict
- Posts: 914
- Joined: Wed Sep 22, 2010 1:50 am
- Location: Bradenton, FL
Re: Implement a full SSL/TLS library
I apologize if I wasn't clear, this was for IMAP retrieving email messages only that I had a problem with Curl. But, it still gives me pause to use it elsewhere.infratec wrote: ↑Fri May 13, 2022 11:15 am It is used by the inbuild HTTPRequest() stuff.
And you can also use it by your own via libcurl.pbi
https://www.purebasic.fr/english/viewto ... 71#p566971
With this libcurl.pbi you can also use the latest libcurl.dll file.
I use it also to access imaps.
FTPS example:
https://www.purebasic.fr/english/viewto ... 74#p562174
Re: Implement a full SSL/TLS library
My answer was primary for plouf.
- RichAlgeni
- Addict
- Posts: 914
- Joined: Wed Sep 22, 2010 1:50 am
- Location: Bradenton, FL
Re: Implement a full SSL/TLS library
+1
PB v5.40/6.10, Windows 10 64-bit.
16-core AMD Ryzen 9 5950X, 128 GB DDR5.
16-core AMD Ryzen 9 5950X, 128 GB DDR5.
- the.weavster
- Addict
- Posts: 1537
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Re: Implement a full SSL/TLS library
@Fred
How close this is to the top of your TODO list?
How close this is to the top of your TODO list?
Re: Implement a full SSL/TLS library
+1 Built in TLS support with PB network functions would compliment my current project that relies on TLS v1.2.
Code: Select all
OpenNetworkConnection()
CreateNetworkServer()