[Bug 37500] Evernote 5.5.x, 5.6.x, 5.7.x fail to connect to evernote service

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Nov 19 09:45:00 CST 2014


https://bugs.winehq.org/show_bug.cgi?id=37500

--- Comment #9 from Bruno Jesus <00cpxxx at gmail.com> ---
Thank you, despite of a small error in my patch I can see the problem so the
error can be seen (fixed output due to patch error):

trace:secur32:schan_EncryptMessage Sent 16368/16384 bytes.
trace:secur32:schan_EncryptMessage Expected to send 16384 bytes, sent only
16368
...
warn:wininet:send_ssl_chunk EncryptMessage failed

>From the gnutls_record_send man page:
Returns: The number of bytes sent, or a negative error code. The number of
bytes sent might be less than data_size . The maximum number of bytes this
function can send in a single call depends on the negotiated maximum record
size.

I don't know how to check for the "negotiated maximum record size". I believe
now that this will not work even in previous versions of wine, my guess is that
you now have so much stuff in evernote (or an upgrade in the software requires
more data to be sent to the server) that a too large packet is required to be
sent and gnutls (or kernel or something else) can't cope with that. It may also
related to the buffer size in the socket used by gnutls, will have to study
further.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list