cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] pipelining: Add CURLMOPT_PIPELINE_POLICY_FUNCTION

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 25 Nov 2014 23:51:06 +0100 (CET)

On Tue, 25 Nov 2014, Carlo Wood wrote:

> Would you agree with calling snprintf(buf, bufsz, "%s:%d", host.name,
> remote_port); every time a bundle needs to be looked up?

Sure!

> Or do you want something that is faster (but will use more memory for an
> extra struct member)?

Nah, it isn't done that often to be any major concern I think.

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