-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
SMTP with GMail fails with out of memory error in 7.69.1 (works OK in 7.68.0) #5294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I updated the reported OpenSSL version - I incorrectly specified OpenSSL 1.1.1, but I had forgotten that I have curl linked against 1.0.2u for technical reasons. |
Potential cause? aeb2923#diff-65cc11e82be15630f137b0476644a46b I will see if I can resolve the issue by reverting this change. BRB... |
Nope, that wasn't it. Will require more digging through changes between 7.68.0 and 7.69.1. |
Maybe bisect? Or possibly single-step with a debugger to find which condition that is triggered. |
Maybe another possibility |
Completed bisect, first bad commit is 68fb25f . |
Check your encoding |
Issue tracked down and fixed here (been looking at it with bagder over IRC). |
I did this
I expected the following
After the early authentication bits, this is a successful session under 7.68.0:
However with 7.69.1, it returns this:
mail.txt contains a very short test file with a From, To,Date, and two lines of content.
This might be server-specific, as my own ISP's server seems to work fine with a similar request.
curl/libcurl version
curl 7.69.1 (arm-unknown-linux-gnu) libcurl/7.69.1 OpenSSL/1.0.2u
Release-Date: 2020-03-11
Protocols: file ftp ftps http https imap imaps pop3 pop3s smb smbs smtp smtps
Features: HTTPS-proxy IPv6 Largefile NTLM SSL TLS-SRP UnixSockets
operating system
Asuswrt-Merlin (Linux-based router firmware).
Tested both on an older uclibc+kernel 2.6.36 and on a glibc+kernel 4.1.51 kernel.
OpenSSL 1.0.2u is used for the SSL/TLS backend.
The text was updated successfully, but these errors were encountered: