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

[PATCH 00/23] http*: refactor (v6)

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Jun 6, 2009, 08:42 UTC
Message-ID
<20090606164253.65a945ba.rctay89@gmail.com>
Junio, this replaces the entire 'rc/http-push' topic.
Changes from the previous patch series:
- add a list of functions added (patch #15)
- use back the die()'s like in the original (patch #16)
Christian Couder (1):
  http-push: fix missing "#ifdef USE_CURL_MULTI" around
    "is_running_queue"
Mike Hommey (7):
  Don't expect verify_pack() callers to set pack_size
  transport.c::get_refs_via_curl(): do not leak refs_url
  http.c: new functions for the http API
  transport.c::get_refs_via_curl(): use the new http API
  http.c::http_fetch_ref(): use the new http API
  http-push.c::remote_exists(): use the new http API
  http-push.c::fetch_symref(): use the new http API
Tay Ray Chuan (15):
  t5540-http-push: test fetching of loose objects
  t5540-http-push: test fetching of packed objects
  http*: cleanup slot->local after fclose
  http-push: send out fetch requests on queue
  t5550-http-fetch: test fetching of packed objects
  http-push, http-walker: style fixes
  http-walker: verify remote packs
  http*: copy string returned by sha1_to_hex
  http-push: do not SEGV after fetching a bad pack idx file
  http*: move common variables and macros to http.[ch]
  http: create function end_url_with_slash
  http*: add http_get_info_packs
  http: use new http API in fetch_index()
  http*: add helper methods for fetching packs
  http*: add helper methods for fetching objects (loose)
 http-push.c           |  579 ++++++++---------------------------------------
 http-walker.c         |  533 +++++++------------------------------------
 http.c                |  601 +++++++++++++++++++++++++++++++++++++++++++++++--
 http.h                |   85 +++++++
 pack-check.c          |    8 +-
 t/t5540-http-push.sh  |   36 +++
 t/t5550-http-fetch.sh |    8 +
 transport.c           |   36 ++--
 8 files changed, 905 insertions(+), 981 deletions(-)
Next: Junio C Hamano
Message 1 of 6 in “http*: refactor (v6)”
  1. 00/23 http*: refactor (v6)Tay Ray Chuan, Jun 6, 2009
  2. Junio C HamanoJun 6, 2009
  3. Jakub NarebskiJun 6, 2009
  4. Tay Ray ChuanJun 7, 2009
  5. Tay Ray ChuanJun 7, 2009
  6. Tay Ray ChuanJun 10, 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.