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

[PATCH v2 0/7] http: minor improvements

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Mar 2, 2010, 10:49 UTC
Message-ID
<1267526971-5552-1-git-send-email-rctay89@gmail.com>

This patch series was generated on top of 'next'. It contains some general changes to http usage.

Some highlights:
  - add non-ff test cases to "dumb" http push test
  - separate init and cleanup of http from http-walker
Changes from v1 (based on comments from Clemens):
  - patch 3: don't say "remove condition", since we're actually enabling
    it.
  - patch 5: in keeping with separating http and http-walker, removed
    http_cleanup() from http-walker->cleanup().
  - patch 5: move http_cleanup() call after http-walker->cleanup(). This
    isn't really needed, but do this just in case http-walker->cleanup()
    does any http operations.
Contents:

[PATCH v2 1/7] t5541-http-push: check that ref is unchanged for non-ff test [PATCH v2 2/7] t554[01]-http-push: refactor, add non-ff tests [PATCH v2 3/7] http-push: remove "|| 1" to enable verbose check [PATCH v2 4/7] http-walker: cleanup more thoroughly [PATCH v2 5/7] http: init and cleanup separately from http-walker [PATCH v2 6/7] remote-curl: use http_fetch_ref() instead of walker wrapper [PATCH v2 7/7] remote-curl: init walker only when needed

 http-fetch.c         |    5 ++++-
 http-push.c          |    2 +-
 http-walker.c        |   21 +++++++++++++++++----
 remote-curl.c        |   21 +++++++++------------
 t/lib-httpd.sh       |   29 +++++++++++++++++++++++++++++
 t/t5540-http-push.sh |    3 +++
 t/t5541-http-push.sh |   22 ++--------------------
 walker.h             |    2 +-
 8 files changed, 66 insertions(+), 39 deletions(-)

-- Cheers, Ray Chuan

Next: Tay Ray Chuan
Message 1 of 9 in “http: minor improvements”
  1. 0/7 http: minor improvementsTay Ray Chuan, Mar 2, 2010
  2. 1/7 t5541-http-push: check that ref is unchanged for non-ff testTay Ray Chuan, Mar 2, 2010
  3. 2/7 t554[01]-http-push: refactor, add non-ff testsTay Ray Chuan, Mar 2, 2010
  4. 3/7 http-push: remove "|| 1" to enable verbose checkTay Ray Chuan, Mar 2, 2010
  5. 4/7 http-walker: cleanup more thoroughlyTay Ray Chuan, Mar 2, 2010
  6. 5/7 http: init and cleanup separately from http-walkerTay Ray Chuan, Mar 2, 2010
  7. 6/7 remote-curl: use http_fetch_ref() instead of walker wrapperTay Ray Chuan, Mar 2, 2010
  8. 7/7 remote-curl: init walker only when neededTay Ray Chuan, Mar 2, 2010
  9. Clemens BuchacherMar 4, 2010

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.