cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: SMB long local write

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 8 Dec 2014 23:49:23 +0100 (CET)

On Mon, 8 Dec 2014, Patrick Monnerat wrote:

>> ... It must thus at least be converted into a loop of calls.
>
> Indeed :-) The question is: do we set this loop in smb or in Curl_client
> write()? The later will resolve this problem for other protocols too.

Yeah, that would be better approach indeed. Feel like taking a stab at it?

> Another question: what about the idea of dissociating crypto from TLS and
> adding a virtual lib/crypto subdir as it has been done for TLS ? The
> motivations are: not all TLS backends offer a public API to
> crypto-algorithms we need (although they can be featured by alternative
> platform-dependent libs or libcurl's own implementations) and the
> conditional stuff about crypto is gently becoming a mess.

Yes, that is something to consider. But I'm also concerned that it may just
cause _another_ mess instead of the one we currently have and thus just be a
lot of work that doesn't end up substantially better.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-08