git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] http-push: update memory allocation for http headers

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 18, 2009, 14:55 UTC
Message-ID
<alpine.DEB.1.00.0901181554480.3586@pacific.mpi-cbg.de>
In-Reply-To
<be6fef0d0901180516q19327c18oa1d7ccc36ce3a87@mail.gmail.com>
Hi,
On Sun, 18 Jan 2009, Ray Chuan wrote:
Show 6 quoted lines
> In 753bc91 (Remove the requirement opaquelocktoken uri scheme), the
> header strings were with the removal "opaquelocktoken:" (16
> characters).
> 
> Unfortunately, this was without the corresponding change in memory
> allocation. In this patch we update these allocations.

Rather than doing this (which will result in as error-prone code), why don't you replace those things by strbufs?

Ciao, Dscho

Previous: Mike Hommey
Message 3 of 3 in “http-push: update memory allocation for http headers”
  1. http-push: update memory allocation for http headersRay Chuan, Jan 18, 2009
  2. Mike HommeyJan 18, 2009
  3. Johannes SchindelinJan 18, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.