January 2012 Archives by author
Starting: Mon Jan 2 11:02:17 CET 2012
Ending: Tue Jan 31 21:47:23 CET 2012
Messages: 637
- [master] 2bcd2f0 Added an introduction. Brushed up the chapter on varnish in a virtualized environment
Per Buer
- [master] bf78ea9 typo. Thanks scoof
Per Buer
- [master] c1635fa remove the experimental flag from http_range_support
Per Buer
- [master] bbecdd2 speling
Per Buer
- [master] b23cb23 cleaned out some cruft. Added links to the actual docs
Per Buer
- [master] db55f5f add link
Per Buer
- [master] b499af9 Stop accept() timeouts from being counted as sess_fail in varnishstat
Martin Blix Grydeland
- [master] e5a0c62 Don't try to stream when there is no body.
Martin Blix Grydeland
- [master] 3d43f62 Add support for banning on http.status
Tollef Fog Heen
- [master] b70a93c Fix typo
Tollef Fog Heen
- [master] 84f098e Get rid of unused variable, fixes compilation problem with newer gcc
Tollef Fog Heen
- [master] 0802b1f Handle the case of sub being NULL
Tollef Fog Heen
- [master] 0471b9b Add support for the %{format}t construct to varnishncsa
Tollef Fog Heen
- [master] 299d2da Force lookup of kss resources and fix cached creation of objects in Plone
Tollef Fog Heen
- [master] 77a7e83 Update syntax for 3.0
Andreas Plesner Jacobsen
- [master] cf0a45a Remove last traces of sess_workspace from logs
Andreas Plesner Jacobsen
- [master] a999224 Literal block colons in fully minimized form
Andreas Plesner Jacobsen
- [master] 4f3e2e9 Rest of the literal block colons in fully minimized form
Andreas Plesner Jacobsen
- [master] 473e58c Collapse two VTAILQ_ENTRY() in struct sess, saving 16 bytes.
Poul-Henning Kamp
- [master] c632af8 Pack the memitem a bit smarter and drop the payload element which costs us 8 bytes per allocation.
Poul-Henning Kamp
- [master] 58a062a Pack struct sess slightly smarter, and get its allocation size (incl memitem) down to 512 bytes, despite ridiculously large sockaddr_storage structs.
Poul-Henning Kamp
- [master] de08ec0 Shave 16 bytes of the ADDR_BUFSIZE to push struct sess(+memitem) down to 512 bytes on epoll systems.
Poul-Henning Kamp
- [master] 8a37b31 Comment on struct sess size issues.
Poul-Henning Kamp
- [master] a4e2d47 All relevant BSD's have a testable kqueue now.
Poul-Henning Kamp
- [master] b6efb69 Remove outdated comment
Poul-Henning Kamp
- [master] 0a96b48 Add explanation for Varnish "hashing" in light of advisories.
Poul-Henning Kamp
- [master] 1fbff54 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Poul-Henning Kamp
- [master] 6bec2c8 Fix a buglet in handling non-ascii strings in VCL, now that we (I) have decided what the strategy is going to be for synthetic in the future.
Poul-Henning Kamp
- [master] 5b8d896 By Slink, via Geoff:
Poul-Henning Kamp
- [master] 05184e9 Minor cleanups while waiting for tests
Poul-Henning Kamp
- [master] 41a9730 Remove unused cruft from the HTTP header table.
Poul-Henning Kamp
- [master] dd103d3 Cleanup http filtering operations:
Poul-Henning Kamp
- [master] 4c8f484 A bit of cleanup of the filtering stuff
Poul-Henning Kamp
- [master] 29fcad4 stylistic nit
Poul-Henning Kamp
- [master] edf5144 Add the new pool-task API so Martin can see it.
Poul-Henning Kamp
- [master] f965f4d Forgot to pass the struct wrk* argument to the task function.
Poul-Henning Kamp
- [master] 7fc7fa7 Move the "schedule a session" code from cache_pool to cache_session where it rightfully belongs.
Poul-Henning Kamp
- [master] 273788a Move session scheduling to new task api
Poul-Henning Kamp
- [master] 5b969ad Remove the now unused queue of sessions.
Poul-Henning Kamp
- [master] 69256c8 Use the list in the embedded task object to hold idle threads that saves two pointers in workers.
Poul-Henning Kamp
- [master] ac78724 Move the freshly acceptted session code from cache_pool.c to cache_session.c
Poul-Henning Kamp
- [master] b04b83b Move the accept sockets into the new pool-task API and GC all the cruft now not needed.
Poul-Henning Kamp
- [master] 0d03ebb Remove an old wart of dubious origin. I belive that this originally was related to the entry parameters of cnt_error(), but I belive it has long been OBE, and now gets in the way of streaming.
Poul-Henning Kamp
- [master] 7bbc60f Untangle cnt_error() entrance criteria:
Poul-Henning Kamp
- [master] 4c1abcb Go over the first couple of cache_center states with a bucket of polish.
Poul-Henning Kamp
- [master] 3e0e0ed Fix a test description
Poul-Henning Kamp
- [master] a2c53c8 Be more careful about handling the request-body.
Poul-Henning Kamp
- [master] 3d52af7 Continue polishing cache_center to make states and assumptions clearer for everybody.
Poul-Henning Kamp
- [master] 4a75131 Add testcase for restart in vcl_miss{}
Poul-Henning Kamp
- [master] 3a1b9ca Make this test case more robust (and faster) by using the CLI to control backend health, rather than rely on probes.
Poul-Henning Kamp
- [master] cff8e37 Make the invalid domains FQDN to save time if you have a long search-list.
Poul-Henning Kamp
- [master] 263383b Whitespace CDO.
Poul-Henning Kamp
- [master] ef4231f Work on the dot-graph while I ponder how streaming fits in.
Poul-Henning Kamp
- [master] e815d5a NB: VCL syntax change!
Poul-Henning Kamp
- [master] 58e4a20 s/wrk->busyobj->/bo->/ in cnt_fetchbody() (with a few notable exceptions.)
Poul-Henning Kamp
- [master] ac35ccf Split "prepfetch" from "fetchbody"
Poul-Henning Kamp
- [master] 8a9ad30 More work on the dot graph
Poul-Henning Kamp
- [master] b73b1a0 Update .gitignore
Rogier Mulhuijzen
- [master] 872c478 Actually use a default (80) if no port is specified
Rogier Mulhuijzen
- [master] 3eea8da Use sp->vsl_id as thread identifier
Rogier Mulhuijzen
- [master] d0be5ad Add __printflike and fix everything that brings to light
Rogier Mulhuijzen
- [master] ca587d1 Simplify vry_cmp's signature
Rogier Mulhuijzen
- [master] bf913ad Don't forget to do the stats when a request is aborted
Rogier Mulhuijzen
- [experimental-ims] 6f7944c Document various director retry-mechanisms
Geoff Simmons
- [experimental-ims] 863c22b Allow relational comparisons on REAL type.
Geoff Simmons
- [experimental-ims] 16d58af Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] c0e2acc When headers are surplus to limits, only log the first 20 char.
Geoff Simmons
- [experimental-ims] 0d079cc Reset the "built vary spec" (also) if we came back from the waiting list, otherwise it might turn into garbage.
Geoff Simmons
- [experimental-ims] 69e5bd5 Also remove DIAGNISTICS around the prototype for MCF_DumpRst()
Geoff Simmons
- [experimental-ims] d600ab8 Move acct_tmp to worker instead of session and report # gunziped bytes rather than storage size when we gunzip for delivery.
Geoff Simmons
- [experimental-ims] c14ced8 Take another stab at #1001/#994
Geoff Simmons
- [experimental-ims] 1bddcfa Document hit_for_pass in the tutorial
Geoff Simmons
- [experimental-ims] 2c28590 more on hit_for_pass
Geoff Simmons
- [experimental-ims] cb07c41 A bit of spit and polish inspired by DocWilcos varnishtest patch.
Geoff Simmons
- [experimental-ims] 33774e3 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] e000786 Ignore invalid HTTP headers
Geoff Simmons
- [experimental-ims] e14ade5 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] dce01d1 Small optimization: don't process header when inactive
Geoff Simmons
- [experimental-ims] db1a21f Add documentation of string syntax, rollback, panic and synthetic keywords.
Geoff Simmons
- [experimental-ims] 8548216 I have not been able to reproduce this exact circumstance, but the fix is readily obvious, so: Tighten requirement for range delivery.
Geoff Simmons
- [experimental-ims] daa446e Unlink -s file with autogenerated names
Geoff Simmons
- [experimental-ims] 5facfd3 Make the default -s file size 100MB rather than 50% of free disk space
Geoff Simmons
- [experimental-ims] efaa48a Fix handling vs Varnish:handling in varnishncsa
Geoff Simmons
- [experimental-ims] 4633d00 Fix up default format string in man page and code comments
Geoff Simmons
- [experimental-ims] b09f55e Fix string documentation for 3.0
Geoff Simmons
- [experimental-ims] d56069e Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] c397697 Add text representation to Fetch_Body VSL message.
Geoff Simmons
- [experimental-ims] bac89d8 Improve the FetchError VSL messages.
Geoff Simmons
- [experimental-ims] b3690c6 Make it possible for VCL initializtion to fail gracefully, particularly so VMOD loading can emit sensible diagnostics.
Geoff Simmons
- [experimental-ims] eea97db Prototype adjustment for last commit
Geoff Simmons
- [experimental-ims] 3302916 Quench a pointless debug printf
Geoff Simmons
- [experimental-ims] 8b4c13c Don't leave pid file in weird error case.
Geoff Simmons
- [experimental-ims] 20732d8 Add return(restart) in vcl_error to the dot-graph
Geoff Simmons
- [experimental-ims] 3a08c3d Add Vmod_Id handle which VMOD can identify themselves to VRT with.
Geoff Simmons
- [experimental-ims] 4213531 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 8156c29 Restore old nuke_limit, as 10 seems to be too low
Geoff Simmons
- [experimental-ims] 76a050f Add .expected_response to probe documentation. Fix error message for .expected_response.
Geoff Simmons
- [experimental-ims] ce9dd3b Add type to connect_timeout
Geoff Simmons
- [experimental-ims] f7c36f9 Tabulate probe properties and add all missing ones
Geoff Simmons
- [experimental-ims] ef0387e Fix escapes, and workaround man-page formatting issues
Geoff Simmons
- [experimental-ims] e13b98c Add undocumented variables
Geoff Simmons
- [experimental-ims] c717971 Always call fetch-processor begin, also if C-L header is bogus.
Geoff Simmons
- [experimental-ims] 87ae60f Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 82344cb Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] b16790a Avoid 32 bit variables in stats aggregation.
Geoff Simmons
- [experimental-ims] f336ffe Commit the actual fix for #1014 and not just the test-case.
Geoff Simmons
- [experimental-ims] 6447d64 Updating configure line for ppc64, as --disabled-jemalloc has changed to --without-jemalloc
Geoff Simmons
- [experimental-ims] 083d19a Dump the VSL into the varnishtest output.
Geoff Simmons
- [experimental-ims] 0bda0cb Minor flexelint'ing
Geoff Simmons
- [experimental-ims] b52b3a6 Start separating out the worker thread from the worker pool stuff.
Geoff Simmons
- [experimental-ims] 2a754e9 Rename the pool initializer to Pool_Init()
Geoff Simmons
- [experimental-ims] c9d9539 Further Pool/Wrk separation.
Geoff Simmons
- [experimental-ims] 83753e2 Change the calling convention for waiters, to make it OO
Geoff Simmons
- [experimental-ims] 0e9e4d1 Use VTLA VWP for poll waiter, turn it into an object.
Geoff Simmons
- [experimental-ims] 8bebce8 Use VTLA VWK for Kqueue waiter and make it an object
Geoff Simmons
- [experimental-ims] 685d9b9 Missed renaming these two bits.
Geoff Simmons
- [experimental-ims] b190a57 Allocate VTLA VWE to the Epoll Waiter and make it an object
Geoff Simmons
- [experimental-ims] 012200a Eliminate the global vca_pipes.
Geoff Simmons
- [experimental-ims] 74a0b31 Attempt to convert to object (VTLA = VWS)
Geoff Simmons
- [experimental-ims] 0ad2c29 Move vca_handover() to SES_Handle() Move vca_close_session() to SES_Close() If SES_Delete() gets a reason, it calls SES_Close()
Geoff Simmons
- [experimental-ims] c105995 Move waiter related code from cache_acceptor.c to its own file.
Geoff Simmons
- [experimental-ims] 0841b65 Move vca_return_session() to Pool_Wait()
Geoff Simmons
- [experimental-ims] 12f5366 Rename struct wq to struct pool, and tag worker threads with it.
Geoff Simmons
- [experimental-ims] 738cafa Drop struct workreq, we don't use it.
Geoff Simmons
- [experimental-ims] fc59c74 Give each pool a list of sockets to accept() from
Geoff Simmons
- [experimental-ims] 5d5e873 Prepare the acceptor code to become multithreaded by moving the pacing under a dedicated lock.
Geoff Simmons
- [experimental-ims] 761d0c0 Add body_status.h to includes
Geoff Simmons
- [experimental-ims] ac1fae5 Screw up the session allocator performance, in order to prepare it for per-pool operation.
Geoff Simmons
- [experimental-ims] ea74343 A little bit of spit and polish...
Geoff Simmons
- [experimental-ims] 12bf085 Get rid of the single acceptor thread.
Geoff Simmons
- [experimental-ims] eafb66a Add a "long description field" to the VSC_F() macro, the intent is that they should be mined and dumped into the documentation.
Geoff Simmons
- [experimental-ims] 4f610d3 I've spent some time trying to think more clearly about stats counters and it's all a mess.
Geoff Simmons
- [experimental-ims] 4571689 Shave 16 bytes of the session memory requirement by putting the sockaddr's directly into struct sess.
Geoff Simmons
- [experimental-ims] dd0e30e Finish polishing the session memory management:
Geoff Simmons
- [experimental-ims] 260574a Make listen_sock a miniobj
Geoff Simmons
- [experimental-ims] 6810e7c First cleanup sweep over new per-pool acceptor code:
Geoff Simmons
- [experimental-ims] 56c353f Give session memory pools a back pointer to their (thread) pool.
Geoff Simmons
- [experimental-ims] d885b81 Organize thread pools on a linked list instead of in an array.
Geoff Simmons
- [experimental-ims] ac393c4 Revamp the code which rides herd on the thread pools:
Geoff Simmons
- [experimental-ims] 8faf587 Various minor polishing
Geoff Simmons
- [experimental-ims] bc1d749 Shave acct_req down to a bodybytes counter, it's all we use it for.
Geoff Simmons
- [experimental-ims] f0746df OS/X does not have CLOCK_MONOTONIC, use CLOCK_REALTIME and hope nobody steps the clock...
Geoff Simmons
- [experimental-ims] 652b2f6 Take another stab at getting OS/X to compile again.
Geoff Simmons
- [experimental-ims] e5975a5 Fix OS/X compilation for good.
Geoff Simmons
- [experimental-ims] 319d601 More OSX compat hackery, this time for LLVM
Geoff Simmons
- [experimental-ims] 9e39eb2 Increase the servers listen depth to 10.
Geoff Simmons
- [experimental-ims] c4a27e7 Work around a bug in OSX
Geoff Simmons
- [experimental-ims] d5eedbe A missing type-cast
Geoff Simmons
- [experimental-ims] b99540d Fix a typo.
Geoff Simmons
- [experimental-ims] 6734c86 Clear the poll structure beforehand in order to make sure there are no lingering bits.
Geoff Simmons
- [experimental-ims] 8ff8091 Update zope-plone.vcl to v3 syntax
Geoff Simmons
- [experimental-ims] e1fea86 Increase http_req_size, http_resp_size to 8192 bytes
Geoff Simmons
- [experimental-ims] c94a809 Kqueue is go for Darwin11. Somebody should attempt Darwin10 also.
Geoff Simmons
- [experimental-ims] 0bc47b7 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] d5adf88 Fix poll waiter, so that we don't terminate the search for poll'ed fd's early in the case of a timeout.
Geoff Simmons
- [experimental-ims] 2a8a885 More details about failing test subprocesses.
Geoff Simmons
- [experimental-ims] c43c726 Missing newline
Geoff Simmons
- [experimental-ims] ff3d342 Wait for the health-probe to finish before we even start client c2, this should solve issues where the c2-v1 connection times out before it ever got used.
Geoff Simmons
- [experimental-ims] 8b925e3 Make -M help text better
Geoff Simmons
- [experimental-ims] e749a3e Make the VSL skeptical of zero-filled VSM.
Geoff Simmons
- [experimental-ims] d4455ed Correctly handle listen socket shutdown: Delete the poolsock instance, pretend nothing else happened.
Geoff Simmons
- [experimental-ims] bc2759d Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 96a4a90 Try to make it easier to see why this test fails.
Geoff Simmons
- [experimental-ims] f72c709 Disable this test on OSX, the VM mapping is too random to get us the same address again, even with hinting.
Geoff Simmons
- [experimental-ims] fb5477b Don't ignore the return value of the read(2) call on a random dev.
Geoff Simmons
- [experimental-ims] db36b58 This cast is a tad too creative for my taste, make it safer.
Geoff Simmons
- [experimental-ims] 8b4cc65 Remember to release workspace on listen socket close.
Geoff Simmons
- [experimental-ims] f98e2b8 remove unused variable
Geoff Simmons
- [experimental-ims] 2da6772 Remember to sleep and terminate, rather than loop for ever on a zero VSL record. Still not quite sure how they happen, but we shouldn't hang no matter what.
Geoff Simmons
- [experimental-ims] 223ff71 Do the zero check last, so a varnishd restart has a chance to recover it.
Geoff Simmons
- [experimental-ims] 6d76ccd Don't rely on the test executing fast enough and repeatably enough that two separate timestamps just happen to be the same, just make them the same.
Geoff Simmons
- [experimental-ims] 4a976ec Remove never effected test
Geoff Simmons
- [experimental-ims] ff6f655 Increase varnishtest's HTTP rx timeout to 15 seconds, a lot of test failures seems to be timeouts on stressed machines.
Geoff Simmons
- [experimental-ims] 4351233 Fix a long-standing bug in varnishtest:
Geoff Simmons
- [experimental-ims] 1bb41f9 Add a missing derefence.
Geoff Simmons
- [experimental-ims] abc5dd2 Go over this code once more, and fix various nits.
Geoff Simmons
- [experimental-ims] ef4c867 Cleanup sphinx warnings
Geoff Simmons
- [experimental-ims] 63af998 Unrace this testcase a little bit more.
Geoff Simmons
- [experimental-ims] 0d50550 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 08b8b27 More detail on write errors.
Geoff Simmons
- [experimental-ims] 5ba20ed Add varnish-counters(7) man page
Geoff Simmons
- [experimental-ims] c2e5ccb Look for ncurses/curses.h before curses.h
Geoff Simmons
- [experimental-ims] e0ee2a2 Add file_read to the privilege set we need on Solaris
Geoff Simmons
- [experimental-ims] 6084802 Mark argc, argv as unused in vsc2rst
Geoff Simmons
- [experimental-ims] d8b670d Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 701e5c3 Format all code examples
Geoff Simmons
- [experimental-ims] 6c696ad Add more expressive VSL's for VCL related errors.
Geoff Simmons
- [experimental-ims] 74f3c13 A quick style polish
Geoff Simmons
- [experimental-ims] 9816a23 Give VRT_re_match a sess* arg and report VRE errors using SLT_VCL_Error instead of asserting.
Geoff Simmons
- [experimental-ims] cb4bf6d Add an XXX comment
Geoff Simmons
- [experimental-ims] 8a385bf Make it possible to set limits for VRE matching.
Geoff Simmons
- [experimental-ims] 194d664 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 5fc5c45 Pass warnings and error flags to distcheck
Geoff Simmons
- [experimental-ims] f837fbc Split solaris sandboxing out to a separate source file, and apply patch received from Nils Goroll <nils.goroll at uplex.de>
Geoff Simmons
- [experimental-ims] 009eb1c Give VSL records a backend and client tag (2^30 fd's is enough for everybody!) and tag them at generation, rather than having varnishapi try to deduce each VSL's relationship.
Geoff Simmons
- [experimental-ims] 0d58f56 Second pass to tag VSL's with backend or client bits.
Geoff Simmons
- [experimental-ims] 558ee90 Add mising ;'s
Geoff Simmons
- [experimental-ims] d4dbc04 This test is much to brittle due to dependence on random timing. Tighten it up with use of semaphores and collapse s1/s2/s3 using "accept" keyword.
Geoff Simmons
- [experimental-ims] 7f56b9d Try harder to make v00036 deterministic
Geoff Simmons
- [experimental-ims] 6d50fb2 Try harder to fix solaris IOV_MAX related issue.
Geoff Simmons
- [experimental-ims] c69d4ca Described some of the counters based on notes in the wiki. Please let me know if any of them are way off
Geoff Simmons
- [experimental-ims] b4fee20 Bump minimum number of threads for RPMs
Geoff Simmons
- [experimental-ims] 04b017e Drop debugging message about which host/port we have connected to
Geoff Simmons
- [experimental-ims] e574fbc Fix docs for req.esi
Geoff Simmons
- [experimental-ims] 6cd21b2 Sense of exit-code test was wrong.
Geoff Simmons
- [experimental-ims] 91280b2 Add a "wait-running" primitive to varnish instances, so we can avoid fixed sleeps waiting for the child process to start.
Geoff Simmons
- [experimental-ims] 880b0f8 strange wording. typo
Geoff Simmons
- [experimental-ims] c3073d0 Update redhat spec file to include release candidate logic.
Geoff Simmons
- [experimental-ims] 5c2edfc Only build vsc2rst if we have rst2man, fixes build failure
Geoff Simmons
- [experimental-ims] 0887a4f Try to firm up v00010 even more, by explicitly waiting for the crashing child to do so, and then explicitly start it again.
Geoff Simmons
- [experimental-ims] 27ccc76 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 1c9bf69 Drop unused variable
Geoff Simmons
- [experimental-ims] bc19f22 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] c327e76 Elminiate pthread poisoning of manager process.
Geoff Simmons
- [experimental-ims] 2766a70 Think about and document how we encode bans into bytestrings.
Geoff Simmons
- [experimental-ims] 6c17a35 Enforce the convention that varnish related files are included with "..." and external files are included with <...>
Geoff Simmons
- [experimental-ims] e37a675 Cleanup some #inclues
Geoff Simmons
- [experimental-ims] 0e63559 First sweep to remove needless #includes.
Geoff Simmons
- [experimental-ims] 7a24aa3 Start #include reorg. The table-building #includes will all go into the tbl/ subdirectory
Geoff Simmons
- [experimental-ims] 8b98c9e Move more table-generating #includes into tbl/ subdir
Geoff Simmons
- [experimental-ims] 17937b2 Move the varnishd table building #includes under tbl/ as well.
Geoff Simmons
- [experimental-ims] 272aaa3 Exempt all tbl/* includes from multiple include guards (451)
Geoff Simmons
- [experimental-ims] 4a1413b Remove unused #includes
Geoff Simmons
- [experimental-ims] 23baabd Get closer to distcheck working
Geoff Simmons
- [experimental-ims] b18e8d0 Make distcheck work again.
Geoff Simmons
- [experimental-ims] 2ac54a0 Remove unncessary #includes
Geoff Simmons
- [experimental-ims] f971cdf Even more #include cleanup
Geoff Simmons
- [experimental-ims] b4bb850 More #include cleanuppery
Geoff Simmons
- [experimental-ims] c5c9e33 Eliminate a redundant include file
Geoff Simmons
- [experimental-ims] 2dbbcb4 More #include shufflery
Geoff Simmons
- [experimental-ims] 4507c59 Also split out the VSC part of the (v)abi
Geoff Simmons
- [experimental-ims] 6e6edd0 Complete (?) the varnish API #include cleanup.
Geoff Simmons
- [experimental-ims] b3d6add Make TIM_parse() return double like all other TIM_ functions.
Geoff Simmons
- [experimental-ims] 7140886 Add missing <stdint.h> include
Geoff Simmons
- [experimental-ims] 58db1e6 Isolate VTCP in its own include file
Geoff Simmons
- [experimental-ims] 6570945 Isolate VAV from libvarnish.h
Geoff Simmons
- [experimental-ims] 7ce0d47 Rename source files to their VTLA names
Geoff Simmons
- [experimental-ims] c012d86 Cleanup VSUB_ and eliminate from libvarnish.h
Geoff Simmons
- [experimental-ims] b37c01d Since we're cleaning up, rename TIM_ to VTIM_ and take out of libvarnish.h
Geoff Simmons
- [experimental-ims] 368197a And now it is VNUM's turn...
Geoff Simmons
- [experimental-ims] 06b3c20 And rename the various file-accesors to VFIL_
Geoff Simmons
- [experimental-ims] 080f259 Push "vas.h", <stdint.h>, and NULL out of libvarnish.h
Geoff Simmons
- [experimental-ims] a889566 Get rid of the last trace if the libvarnish.h kitchen-sink: bprint macros go in vdef.h, VCS_* in vcs.h
Geoff Simmons
- [experimental-ims] 6888981 Add necessary #includes
Geoff Simmons
- [experimental-ims] 1c2a1b3 Add vapi/vsm_int.h to complete the picture.
Geoff Simmons
- [experimental-ims] 874655c Get the rest of the stuff in there too.
Geoff Simmons
- [experimental-ims] 4766dba Don't include config.h in .h files
Geoff Simmons
- [experimental-ims] 8d05dae Typo
Geoff Simmons
- [experimental-ims] 9d0ec2a Add necessary vas.h include
Geoff Simmons
- [experimental-ims] 8aa1d8b Eliminate nested <*.h> includes from include/*
Geoff Simmons
- [experimental-ims] 81386d6 Add needed #include
Geoff Simmons
- [experimental-ims] 8aba928 Add more missing <stdint.h>'s
Geoff Simmons
- [experimental-ims] 905144b This is a table-generating #include
Geoff Simmons
- [experimental-ims] 44a623a Rename cli_serve.h to vcli_serve.h
Geoff Simmons
- [experimental-ims] 92f239c Get the vcli includes into line
Geoff Simmons
- [experimental-ims] e94b1e8 Move stevedore.h to storage.h and have it contain only the back-side (storage-module facing) bits.
Geoff Simmons
- [experimental-ims] 7a0dc3f Add default values for some fields when logging imcomplete records. Allow %r format to log incomplete records too. Update docs to reflect new defaults
Geoff Simmons
- [experimental-ims] 3ede515 Smartypants is bad for code. People couldn't copy/paste from the reference pages
Geoff Simmons
- [experimental-ims] f4f1e8a Add short segment on VMs / OpenVZ
Geoff Simmons
- [experimental-ims] 3b73cf0 Close a race where varnishtest::client would attempt to connect before varnishd::acceptor had called listen(2)
Geoff Simmons
- [experimental-ims] 1a80a01 Solaris sandbox changes.
Geoff Simmons
- [experimental-ims] 5a385b5 Add a necessary #include
Geoff Simmons
- [experimental-ims] e97567d <readline/readline.h> requires <stdio.h>
Geoff Simmons
- [experimental-ims] aff259b Move struct vbc to cache_backend.h
Geoff Simmons
- [experimental-ims] 53a28ab These #includes look surplus to requirements.
Geoff Simmons
- [experimental-ims] ebd1601 Reduce #include pollution
Geoff Simmons
- [experimental-ims] fe78027 Move everything related to the storage-expansion-API into a subdirectory where it will be protected from VMODs.
Geoff Simmons
- [experimental-ims] 552f71c Move the waiters into their own subdirectory where VMODs won't see them.
Geoff Simmons
- [experimental-ims] 18edda6 Move the hashing implementations into a subdirectory where VMODs won't see them.
Geoff Simmons
- [experimental-ims] 4620b27 Grammar
Geoff Simmons
- [experimental-ims] 91734c4 WRK_Flush was renamed to WRW_Flush a long time ago; update some ifdefed code and comments to match
Geoff Simmons
- [experimental-ims] 2bcbc00 Use = rather than := in Makefile to make solaris make stop whining on distcheck
Geoff Simmons
- [experimental-ims] 28e866b Update docs for 3.0 Fixes #1032
Geoff Simmons
- [experimental-ims] a641a46 Move the manager process sources into a subdirectory, away from the gaze of prying VMODs.
Geoff Simmons
- [experimental-ims] 69e59af Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] e600a75 Work around a Solaris bug.
Geoff Simmons
- [experimental-ims] 9988408 Adjustments to solaris sandbox.
Geoff Simmons
- [experimental-ims] ac66673 Quit early if setting blocking mode fails.
Geoff Simmons
- [experimental-ims] ce54514 Solaris: Test for SO_{RCV, SND}TIMEO needs NET_LIBS
Geoff Simmons
- [experimental-ims] bebf42d Just small typofixes
Geoff Simmons
- [experimental-ims] 31636e6 Even more strange error returns on Solaris
Geoff Simmons
- [experimental-ims] b06654b Drop explicit dependeny on Makefile for default_vcl.h to avoid spurious rebuilds
Geoff Simmons
- [experimental-ims] 601ee74 Ensure obj->response is set sensibly for errors
Geoff Simmons
- [experimental-ims] fa3b136 Ensure ban lurker sleeps 1.0s on failure
Geoff Simmons
- [experimental-ims] e18a6ab Formally remove error from vcl_deliver VCC
Geoff Simmons
- [experimental-ims] da68c3a Attempt to document the different options for invalidating cached content
Geoff Simmons
- [experimental-ims] 30046dc Make EXP_NukeOne() make do with a struct worker arg instead of sess.
Geoff Simmons
- [experimental-ims] 5e4a502 Merge new material from reference/purging_banning, and do a little house keeping
Geoff Simmons
- [experimental-ims] 5e673e1 Start to push struct sess out of the "fetch non-esi body from backend" code path, to pave the road for Martins streaming code.
Geoff Simmons
- [experimental-ims] 8c80f86 Move the vbc structure from session to worker
Geoff Simmons
- [experimental-ims] 3999568 Shave some session from FetchBody
Geoff Simmons
- [experimental-ims] 57240f5 Decontaminate STV_alloc() to not need session
Geoff Simmons
- [experimental-ims] 78f18e8 Give the worker a "fetch_obj" to avoid passing it around as a separate parameter all the time.
Geoff Simmons
- [experimental-ims] 9765f1a Downgrade ESI parse from using struct sess to struct worker.
Geoff Simmons
- [experimental-ims] 4133b27 Push sess out of the stream-polling operation.
Geoff Simmons
- [experimental-ims] 3e4b829 Push struct session out of all the vfp's in one go.
Geoff Simmons
- [experimental-ims] 71fe293 Push struct session entirely out of FetchBody().
Geoff Simmons
- [experimental-ims] 0b3ec32 Update to 3.0 syntax
Geoff Simmons
- [experimental-ims] f6baebc Also snapshot the worker thread workspace around esi:include processing.
Geoff Simmons
- [experimental-ims] adf381c Ignore SIGPIPE, it causes the test-executing subprocess to bail out before all diagnostics have been gathered.
Geoff Simmons
- [experimental-ims] 1ff8836 Make it possible to mark http stuff "non-fatal".
Geoff Simmons
- [experimental-ims] 6460036 Minor adjustment to asserts
Geoff Simmons
- [experimental-ims] a2f873f Register buffer allocation failuers on vgz's and make failure to clean those up non-fatal.
Geoff Simmons
- [experimental-ims] 5068897 Fix indentation typo
Geoff Simmons
- [experimental-ims] 15c82a6 Clean up the cache_backend.h pollution caused by recent changes to FetchBody.
Geoff Simmons
- [experimental-ims] 8e5b998 Use a better way of checking we have pkg-config
Geoff Simmons
- [experimental-ims] 1c2a646 Make it possible to disable checks for rst2man and rst2html
Geoff Simmons
- [experimental-ims] ea6f0a4 Build without rst2man and rst2html
Geoff Simmons
- [experimental-ims] 10c81c1 Move XML changes files into changes.rst
Geoff Simmons
- [experimental-ims] a0db44f Don't abbreviate panic message output.
Geoff Simmons
- [experimental-ims] 2fceda5 Make the VFP calls symmetric and pair-wise visible, allow ->end() to fail, and act accordingly.
Geoff Simmons
- [experimental-ims] cf66e08 Typographical corrections, spelling
Geoff Simmons
- [experimental-ims] 56d17a6 Add new format %{VCL_Log:foo}x which output key:value from std.log() in VCL
Geoff Simmons
- [experimental-ims] e9e02a4 Support for \t\n in varnishncsa format strings
Geoff Simmons
- [experimental-ims] 6e4e013 Overhaul the detection and reporting of fetch errors, to properly catch trouble that materializes only when we destroy the VGZ instance.
Geoff Simmons
- [experimental-ims] 2b47445 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 01dfd01 More cleanup and simplification of FetchError reporting.
Geoff Simmons
- [experimental-ims] 8d2badd Polish the chunked body fetcher. It still irks me that it does one byte reads for the hex-length headers.
Geoff Simmons
- [experimental-ims] 76ca3a1 Remove a bit of stale debugging.
Geoff Simmons
- [experimental-ims] fe425ce Avoid infinite loop in regsuball
Geoff Simmons
- [experimental-ims] f6536dac Use scalbn(3) rather than exp2(3), it should be faster and more portable.
Geoff Simmons
- [experimental-ims] bced3f5 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] aef8337 Use new-style backend naming in output
Geoff Simmons
- [experimental-ims] 374c3a2 Add a missing case: ESI parent document gunzip'ed but included document gzip'ed.
Geoff Simmons
- [experimental-ims] dd4d545 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 2672b7a document the compression behaviour in Varnish 3.0
Geoff Simmons
- [experimental-ims] 41c39c8 Add health control of backends from CLI
Geoff Simmons
- [experimental-ims] 5f45e4c Add support for JSON output format
Geoff Simmons
- [experimental-ims] 878036c Revert "Add support for JSON output format". Work in progress, pushed in wrong direction.
Geoff Simmons
- [experimental-ims] c3fb33c Expose VSL_Name2Tag in libvarnishapi
Geoff Simmons
- [experimental-ims] 98a29cb Implement support for custom output and profiles in varnishhist
Geoff Simmons
- [experimental-ims] fa2af30 FlexeLint spotted a memory leak in Tollefs "admin-health" code, so I started fixing that, and then I fixed another couple of nits and polished the naming a bit and ...
Geoff Simmons
- [experimental-ims] b32cfd0 Add some backend.list commands to exercise that code also
Geoff Simmons
- [experimental-ims] eab857a Test more of the backend matching code.
Geoff Simmons
- [experimental-ims] 513c4a2 Remove more traces of varnishsizes
Geoff Simmons
- [experimental-ims] ac387cf varnishstat: Add json output and continous mode
Geoff Simmons
- [experimental-ims] ae14008 Simplify json callback
Geoff Simmons
- [experimental-ims] 6afe314 One more backend.list test to get all of the code.
Geoff Simmons
- [experimental-ims] 8f304ab Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 35f8ce5 Add proper handling of TCP timeouts on client side
Geoff Simmons
- [experimental-ims] 561be2e Make it possible to limit the total transfer time.
Geoff Simmons
- [experimental-ims] b4aef74 A minor preemptive cleanup before the ban-lurker gets remodelled.
Geoff Simmons
- [experimental-ims] 0dead8f Rewrite the ban-lurker.
Geoff Simmons
- [experimental-ims] 78e7b84 Add a new stats counter for "gone" marked bans
Geoff Simmons
- [experimental-ims] 94f4464 Don't start the ban-lurker until -spersistent is done loading.
Geoff Simmons
- [experimental-ims] 2befbaf Add a missing WS_Release()
Geoff Simmons
- [experimental-ims] 992ebc9 Implement VRE options with hard linkage to PCRE options instead of maintaining magic hex-bit values that must match.
Geoff Simmons
- [experimental-ims] 0fe28b3 Polish whitespace and update copyrights.
Geoff Simmons
- [experimental-ims] a2dbc59 Renovate ban related statistics, add long descriptions etc.
Geoff Simmons
- [experimental-ims] 8241149 Draw the line between the managers and the childs copy of the struct params much clearer. Manager should never read the childs copy.
Geoff Simmons
- [experimental-ims] e4fa4c7 Rename the childs copy of params to cache_param so it is clear that it belongs there.
Geoff Simmons
- [experimental-ims] a37d3cc Fix a struct member hit by a global name-space edit
Geoff Simmons
- [experimental-ims] 3bf99f6 Firmly split manager and child views of hashing.
Geoff Simmons
- [experimental-ims] 4805cac Clean up some formatting leading to error messages in rst2man that made it into the man pages
Geoff Simmons
- [experimental-ims] 9b8598d Align error message with new parameter name
Geoff Simmons
- [experimental-ims] f72bf05 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 3ef111c Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] dd74a96 OCD patch: return (x)
Geoff Simmons
- [experimental-ims] 6c290ee Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 921f14b Split params from heritage, they have been different beasts for a long time.
Geoff Simmons
- [experimental-ims] 4f9e61d Explicitly document that concatenation is only supported for the builtins.
Geoff Simmons
- [experimental-ims] 9699424 Split params.h from heritage.h, they are different beasts now. Reduce scope of heritage.h Reduce scope of libvcl.h
Geoff Simmons
- [experimental-ims] 9393154 Remove some unused #includes
Geoff Simmons
- [experimental-ims] 43b009a Teach varnishtest about VRE_NOTEMPTY_ATSTART and skip c00047 which just hangs if we don't have it
Geoff Simmons
- [experimental-ims] 91ac88d Silence a Flexelint warning
Geoff Simmons
- [experimental-ims] ac37476 Add a dead reference to SES_DeletePool() to remind ourselves where it will be used from.
Geoff Simmons
- [experimental-ims] 5c0eee3 rename varnishd.c to mgt/mgt_main.c
Geoff Simmons
- [experimental-ims] 94c79bd Rename rfc2616.c to cache_rfc2616.c where it belongs. Move vparam.h to mgt/mgt_param.h
Geoff Simmons
- [experimental-ims] 26cfc94 Move cache/mgt common stuff under, you guessed it: common/
Geoff Simmons
- [experimental-ims] f3a414f Stuff all of the worker process into a cache/ subdirectory.
Geoff Simmons
- [experimental-ims] 6298611 Update to match new layout
Geoff Simmons
- [experimental-ims] 10bfefc Rewrite VCLI_ReadResult() to be much more robust.
Geoff Simmons
- [experimental-ims] 2144dc7 Use better criteria for determining if child CLI connection is hosed.
Geoff Simmons
- [experimental-ims] 0af2c24 Make sure the CLI headers we produce tell the truth about the length
Geoff Simmons
- [experimental-ims] ccf9f85 The CLI protocol and its implementation is not designed for transferring huge amounts of data, and it should not be used that way.
Geoff Simmons
- [experimental-ims] ce8a772 Use PCRE_NOTEMPTY rather than NOTEMPTY_ATSTART, it suffices for us
Geoff Simmons
- [experimental-ims] 60ddf62 fix a block of text rendering as part of source code
Geoff Simmons
- [experimental-ims] 4e9bf8c Revert "Teach varnishtest about VRE_NOTEMPTY_ATSTART and skip c00047"
Geoff Simmons
- [experimental-ims] 9857918 Add VCLI_Overflow() so we can stop rendering bans when the CLI output buffer is full.
Geoff Simmons
- [experimental-ims] e7694ea Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 5cfe903 Combine two small functions
Geoff Simmons
- [experimental-ims] 0f13e7e Split stevedore.c in a cache and a worker source file.
Geoff Simmons
- [experimental-ims] 54e7eb5 Move prototypes to smaller scope
Geoff Simmons
- [experimental-ims] ceaf73d Make the panicstr a VSM allocation
Geoff Simmons
- [experimental-ims] 919696b More include file cleanup
Geoff Simmons
- [experimental-ims] 46b0d2d Move mgt cli stuff to _mgt.c file
Geoff Simmons
- [experimental-ims] 86aa540 Reduce #include scope to common.h
Geoff Simmons
- [experimental-ims] aaad3cf Rename to clean up namespace a bit
Geoff Simmons
- [experimental-ims] bdbb1d5 Use the right counter for directors index
Geoff Simmons
- [experimental-ims] 4895d9f Update varnishtest(1) documentation somewhat
Geoff Simmons
- [experimental-ims] ab9cec7 Merge branch 'master' of git+ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 8921e99 This started out as something entirely different, but I got tired of the fact that we have so many params in units of bytes which you cannot tell "64k" so now you can.
Geoff Simmons
- [experimental-ims] 085f6d2 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] b40bdeb Convert the -l argument into two params. For now setting them any other way than -l does you no good.
Geoff Simmons
- [experimental-ims] 356d46a First part of VSM overhaul, this compiles and varnishd runs, but varnishapi and users do not work yet.
Geoff Simmons
- [experimental-ims] e4d1d36 Polish round over varnishd part of VSM
Geoff Simmons
- [experimental-ims] 401ddc4 Make the VSM layout more hexdump friendly
Geoff Simmons
- [experimental-ims] 9aaaf23 Typo
Geoff Simmons
- [experimental-ims] 5cbd8ca Make Varnish API aware of the new structure and make everything compile again. Much still outstanding.
Geoff Simmons
- [experimental-ims] 889a8e4 White-space & comment cleanup
Geoff Simmons
- [experimental-ims] eb18d9b Move VSC_C_main to cache namespace only
Geoff Simmons
- [experimental-ims] 9584dc0 Move cache_param entirely into the cache * namespace and communicate it via heritage.
Geoff Simmons
- [experimental-ims] 0ae79f5 Communicate the panic string through heritage too.
Geoff Simmons
- [experimental-ims] 2d1ca36 Add a "vsm" instance for the managers static VSM allocations (-S, -T args) and copy them to the "real vsm" when we create it.
Geoff Simmons
- [experimental-ims] d68a721 Introduce the new VSM "per-child" lifetime.
Geoff Simmons
- [experimental-ims] 635bc5f Give libvarnishapi a good flexelinting
Geoff Simmons
- [experimental-ims] a77b576 Don't let VCC compilers or other subprocesses kill our VSM.
Geoff Simmons
- [experimental-ims] 07c4179 ...and make it all work again.
Geoff Simmons
- [experimental-ims] 30a37c0 Compilers these days have no sense of fun!
Geoff Simmons
- [experimental-ims] 3262173 Copyright year update
Geoff Simmons
- [experimental-ims] 7090d80 Allocate rbuf if -r is specified
Geoff Simmons
- [experimental-ims] 900920c Terminate when -r reached EOF
Geoff Simmons
- [experimental-ims] aed74d6 Enable regression test for bug 971, since 1060 was a dup of it
Geoff Simmons
- [experimental-ims] f394f0a The new VSM api:
Geoff Simmons
- [experimental-ims] 5a7a850 New VSL api
Geoff Simmons
- [experimental-ims] 6cc6f23 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 1f3fbd8 Make VSC/varnishstat sorta-work again.
Geoff Simmons
- [experimental-ims] 852d2a4 Add missing #include
Geoff Simmons
- [experimental-ims] a8aa0ba Complete the VSC filtering, and make everything compile and pass tests.
Geoff Simmons
- [experimental-ims] 6b84197 Spelling cleanup
Geoff Simmons
- [experimental-ims] 40c0fef Split the main stats counters into their own file.
Geoff Simmons
- [experimental-ims] d13c674 Add stats counters for VSM usage/overflows.
Geoff Simmons
- [experimental-ims] e67da13 Rename shmem.rst to vsm.rst
Geoff Simmons
- [experimental-ims] 699607a Explain more details about VSM
Geoff Simmons
- [experimental-ims] ace762d Merge with trunk as of 2011-11-22
Geoff Simmons
- [experimental-ims] 84b1ca0 Gcc isn't always very smart...
Geoff Simmons
- [experimental-ims] 42d9a31 Always remember what your pointers point to, when doing pointer addition.
Geoff Simmons
- [experimental-ims] f4ba8ee Make varnishlog not explode
Geoff Simmons
- [experimental-ims] cd6f804 Remove a duplicate assert
Geoff Simmons
- [experimental-ims] c4629a0 Make it possible to test for the non-definition of a http header.
Geoff Simmons
- [experimental-ims] 0034032 Fix VSL no longer working
Geoff Simmons
- [experimental-ims] a68844e Clarify various details while trying to figure out req-timing reporting
Geoff Simmons
- [experimental-ims] 1bf8b02 Reorder code in cnt_done() for improved clarity
Geoff Simmons
- [experimental-ims] 3150388 The obj and objcore are not really properties of the session, and we need to be able to reach them during fetching without worrying about a particular session.
Geoff Simmons
- [experimental-ims] efd6a98 Consequence change of obj/objcore move from sp to wrk:
Geoff Simmons
- [experimental-ims] 5b77d34 Push sess out of HSH_Drop() and HSH_Unbusy()
Geoff Simmons
- [experimental-ims] ef234ec Start descoping the fetch-from-backend stuff into struct busyobj.
Geoff Simmons
- [experimental-ims] 58dc8e5 Introduce a consistent wrk local variable with in all cnt_*() steps.
Geoff Simmons
- [experimental-ims] eb6fa2f Move vfp from worker to busyobj
Geoff Simmons
- [experimental-ims] 64e06ad Move vep from worker to busyobj
Geoff Simmons
- [experimental-ims] 0f0eae3 Move fetch_failed from worker to busyobj
Geoff Simmons
- [experimental-ims] 672fb60 Move vgz_rx from worker to busyobj
Geoff Simmons
- [experimental-ims] 9d67fce Move (beresp.)exp from worker to busyobj
Geoff Simmons
- [experimental-ims] 49c619b Move htc from worker to busyobj
Geoff Simmons
- [experimental-ims] 2c88943 Move fetch_object to busyobj
Geoff Simmons
- [experimental-ims] 4faa178 Move body_status from worker to busyobj
Geoff Simmons
- [experimental-ims] c1dac64 Move vef_priv from worker to busyobj
Geoff Simmons
- [experimental-ims] 84628ca Be more precise about default behaviour in the presence of cookie headers
Geoff Simmons
- [experimental-ims] 7813b33 Compile fix.
Geoff Simmons
- [experimental-ims] bd4d340 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 22c90f1 Move do_gzip, do_gunzip and do_esi from worker to busyobj
Geoff Simmons
- [experimental-ims] 69f785e move do_stream from worker to busyobj
Geoff Simmons
- [experimental-ims] a2921da Move h_content_length from worker to busyobj
Geoff Simmons
- [experimental-ims] 1dfe07e typo. Thanks to å¼ å¦å½¬
Geoff Simmons
- [experimental-ims] 0c18d87 Move do_close from worker to busyobj and rename it should_close to distinguish it from the electables (do_esi, do_gzip etc).
Geoff Simmons
- [experimental-ims] c54185f Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] e62db2e Clean up examples a bit
Geoff Simmons
- [experimental-ims] a1de487 Clean up examples a bit (#2)
Geoff Simmons
- [experimental-ims] 4c4ba07 remove minor typos
Geoff Simmons
- [experimental-ims] 30eaac9 s/reponse/response/
Geoff Simmons
- [experimental-ims] ecd8f53 Only call pan_busyobj when we have a busyobj
Geoff Simmons
- [experimental-ims] 9a5b477 Correct indent level of closing bracket in pan_wrk()
Geoff Simmons
- [experimental-ims] 9633e66 Led VDI_CloseFd() take an the vbc to be closed as argument.
Geoff Simmons
- [experimental-ims] 5ec8dea Give pipe its own local vbc.
Geoff Simmons
- [experimental-ims] 7e11625 Use correct vsl_id.
Geoff Simmons
- [experimental-ims] e91fe76 Fix a buglet where we could send one backends Host: header to another backend under very rare circumstances.
Geoff Simmons
- [experimental-ims] e4c002c Make VDI_RecycleFd() take a pointer to the vbc to recycle.
Geoff Simmons
- [experimental-ims] 9cb9ba6 Move vbc from worker to busyobj
Geoff Simmons
- [experimental-ims] d763ce0 Tell FlexeLint to check printf-like arguments and fix what it found.
Geoff Simmons
- [experimental-ims] 691dcc6 Minor polish
Geoff Simmons
- [experimental-ims] 6ac5644 Code polishing
Geoff Simmons
- [experimental-ims] 6d66ab6 Minor polishing
Geoff Simmons
- [experimental-ims] f178da1 More code polishing
Geoff Simmons
- [experimental-ims] 3ef44da More code polishing
Geoff Simmons
- [experimental-ims] 4f47929 Add an objcore->getxid() method.
Geoff Simmons
- [experimental-ims] 3d723fd Rework the busyobj handling.
Geoff Simmons
- [experimental-ims] 02fd3c7 Implement a getxid method that doesn't require full resurrection of zombie objects.
Geoff Simmons
- [experimental-ims] 7cdeb0d Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 3025017 Add locks to busyobj's and use locks on refcounting.
Geoff Simmons
- [experimental-ims] 810428b Give VBE_GetBusyObj() and VBE_DerefBusyObj() a worker argument, we will need it shortly.
Geoff Simmons
- [experimental-ims] f483dd6 Replace 'w' with 'wrk' as the variable for worker thread.
Geoff Simmons
- [experimental-ims] 67a4826 Move beresp and bereq to busyobj, but leave the memory allocation in worker for now.
Geoff Simmons
- [experimental-ims] 367c381 Missed part of last commit.
Geoff Simmons
- [experimental-ims] 0bcfeee Move busyobj to their own source file, they are not really backend related and will have somewhat complex semantics.
Geoff Simmons
- [experimental-ims] 0dd1ee2 Complete the busyobj management code by adding a (default-on) per worker cache and a wrapper structure (needed for $param sized elements) and two new stats counters.
Geoff Simmons
- [experimental-ims] d6b6428 Move the beresp and bereq from worker ot busyobj for good.
Geoff Simmons
- [experimental-ims] e541ffb Use the busyobj->vbc also for pipe, so that panic can see it.
Geoff Simmons
- [experimental-ims] dcd622d Split long line
Geoff Simmons
- [experimental-ims] 9e5fe24 Merge experimental-ims with trunk as of 2011-11-22
Geoff Simmons
- [experimental-ims] 03e0bcf Write some generic code for a memory pool and apply it it VBC as the initial guineapig.
Geoff Simmons
- [experimental-ims] 7f3b2a7 Correct ACL syntax
Geoff Simmons
- [experimental-ims] cf024ae Introduce a generic handler for memory pool parameters.
Geoff Simmons
- [experimental-ims] a0ac5ac Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 89ad25e Some clarification on how 'now' works I'm not sure if we should go into more detail about how the whole thing works
Geoff Simmons
- [experimental-ims] 65d9628 Count Trylocks that succeed
Geoff Simmons
- [experimental-ims] 9f5becc FlexeLinting
Geoff Simmons
- [experimental-ims] b83c68d Formailize some of the macro-crutches I use to explain stuff to FlexeLint.
Geoff Simmons
- [experimental-ims] e9b524b Add the mempool guard-thread
Geoff Simmons
- [experimental-ims] 9f4bb5a Gcc is silly...
Geoff Simmons
- [experimental-ims] 3e1787c Remove two old relics
Geoff Simmons
- [experimental-ims] 28af712 Stylistic nitpickery while I wait for the construction noises to allow intelligent hacking again:
Geoff Simmons
- [experimental-ims] 23e4c60 updated syntax, thanks to Chris Handy for spotting it
Geoff Simmons
- [experimental-ims] 55d8e88 Split waiter::cache and waiter:mgt out from waiter::common
Geoff Simmons
- [experimental-ims] ae3733f Move Pool_Wait() to WAIT_Enter() where it belongs
Geoff Simmons
- [experimental-ims] 6f8d983 add a label so we can ref this in the user guide / tutorial
Geoff Simmons
- [experimental-ims] e578219 Add a label, fix a typo and remove -o (now default)
Geoff Simmons
- [experimental-ims] 7402560 remove -i and -I, add -m and describe it. Simplify the docs. The user only needs to care about -m, really
Geoff Simmons
- [experimental-ims] f111f6f Remove the ref to -o for varnishlog Add a link to the varnishlog man page and the logging chapter in the tutorial
Geoff Simmons
- [experimental-ims] 59a3b91 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 4c1e826 Add an explict enum to tell a worker what to do
Geoff Simmons
- [experimental-ims] 3673967 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 198823d add a ref to man varnishlog
Geoff Simmons
- [experimental-ims] 0d03649 clean up refs
Geoff Simmons
- [experimental-ims] ee43963 Force file permissions 0755 on compiled vcl .so file to make sure it is readable by the unprivileged user.
Geoff Simmons
- [experimental-ims] 8624d49 Move the client IP+port onto the sess structure instead of the sess workspace.
Geoff Simmons
- [experimental-ims] ffb8801 Simplify the dance around sock acceptance.
Geoff Simmons
- [experimental-ims] ad22891 Loose the session watermark
Geoff Simmons
- [experimental-ims] 203ab6e Fix syntax for 3.0
Geoff Simmons
- [experimental-ims] c57dab7 Curse WG14
Geoff Simmons
- [experimental-ims] 2b6717a typos
Geoff Simmons
- [experimental-ims] 8313da8 Another typo
Geoff Simmons
- [experimental-ims] 676064d Add timeouts and comprehensive test-case for memorypool gymnastics.
Geoff Simmons
- [experimental-ims] bc72cff Pave a bit of road for major surgery
Geoff Simmons
- [experimental-ims] 9a7413d Sort the sess fields in per session and per request fields, plus a few I have not made up my mind about yet.
Geoff Simmons
- [experimental-ims] 159c511 Further mempool-polishing:
Geoff Simmons
- [experimental-ims] 23b1f97 Add an empty struct req, and start managing it with a mempool per worker pool.
Geoff Simmons
- [experimental-ims] a5708d5 Minor reorg of kqueue waiter for improved clarity
Geoff Simmons
- [experimental-ims] 3d186d9 Relieve waiters of the task of receiving the request header, instead throw the session at a worker thread the moment it becomes readable.
Geoff Simmons
- [experimental-ims] a87ec7a Shift some code to more appropriate location
Geoff Simmons
- [experimental-ims] 559283b Rename sp->t_end to sp->t_idle, which marks when we start listening for a request.
Geoff Simmons
- [experimental-ims] a9852b4 Rework the code that receives the client request.
Geoff Simmons
- [experimental-ims] 2c90d78 Remove redundant field
Geoff Simmons
- [experimental-ims] bd76542 Collapse two functions for clarity
Geoff Simmons
- [experimental-ims] 4354cd7 Delete the session directly if we never manage to collect a full request header: There is no point in going through cnt_done to do that.
Geoff Simmons
- [experimental-ims] c0442f9 Only allocate sp->req where we need it.
Geoff Simmons
- [experimental-ims] f7ef385 Longer delays
Geoff Simmons
- [experimental-ims] 9173a98 Move xid from sess to req
Geoff Simmons
- [experimental-ims] 097e646 Move another 144 bytes from sess to req
Geoff Simmons
- [experimental-ims] 3abbb12 Move another 56 bytes from sess to req
Geoff Simmons
- [experimental-ims] f918ddb Move the HTC from sess to req, that's another 64 bytes.
Geoff Simmons
- [experimental-ims] a1d9126 Move another 8 bytes from sess to req
Geoff Simmons
- [experimental-ims] 45202f7 This is an interim snapshot committed mostly for debugging purposes, do not run in production!
Geoff Simmons
- [experimental-ims] e2081b7 Consequence changes of http/ws moving to struct req
Geoff Simmons
- [experimental-ims] 8129edf Forgot to commit the vmod_std changes.
Geoff Simmons
- [experimental-ims] ac2e067 Remove the old sessmem allocator/freelist stuff, and replace with a run of the mill mempool.
Geoff Simmons
- [experimental-ims] ff61fc3 Rename the 'sess_workspace' param to 'workspace_client'.
Geoff Simmons
- [experimental-ims] 718e877 Wrap lines
Geoff Simmons
- [experimental-ims] 372312e Move resp.* to workspace_client and struct req
Geoff Simmons
- [experimental-ims] 2955f0b Wrap a line
Geoff Simmons
- [experimental-ims] 41608b6 Always call struct worker variables "wrk" to ease grep'ing
Geoff Simmons
- [experimental-ims] 110b8e7 Use WRK_BgThread() instead of hand-rolling
Geoff Simmons
- [experimental-ims] df85ad8 Introduce a local "req" parameter in the cnt_* states, and pass wrk and req in as paramters to shave a few source lines
Geoff Simmons
- [experimental-ims] 6c14864 move obj and objcore from worker to req
Geoff Simmons
- [experimental-ims] 624b373 Move sha256 hash context from worker to req
Geoff Simmons
- [experimental-ims] f5577b7 Move more stuff from worker to req
Geoff Simmons
- [experimental-ims] 903f1a0 Reduce the scope of the SHA256 contexts memory demand, we only need it during vcl_hash{}
Geoff Simmons
- [experimental-ims] b099f90 Shave 88 bytes of struct dstat and struct worker by not marking stats counters as worker-local unless they actually are.
Geoff Simmons
- [experimental-ims] a2e72e8 Add vsc for requested and needed sizes for mempool.
Geoff Simmons
- [experimental-ims] 1b75dc8 These escaped last commit.
Geoff Simmons
- [experimental-ims] 9e0f29c Attempt to close a theoretical race, which POSIX_MISTAKE makes it impossible to deal with correctly.
Geoff Simmons
- [experimental-ims] c522799 Misleading use of key= instead of key: which is correct.
Geoff Simmons
- [experimental-ims] 0b1e63e Fix inconsistant man page, as reported by Chris Adams
Geoff Simmons
- [experimental-ims] 473e58c Collapse two VTAILQ_ENTRY() in struct sess, saving 16 bytes.
Geoff Simmons
- [experimental-ims] c632af8 Pack the memitem a bit smarter and drop the payload element which costs us 8 bytes per allocation.
Geoff Simmons
- [experimental-ims] 58a062a Pack struct sess slightly smarter, and get its allocation size (incl memitem) down to 512 bytes, despite ridiculously large sockaddr_storage structs.
Geoff Simmons
- [experimental-ims] de08ec0 Shave 16 bytes of the ADDR_BUFSIZE to push struct sess(+memitem) down to 512 bytes on epoll systems.
Geoff Simmons
- [experimental-ims] 8a37b31 Comment on struct sess size issues.
Geoff Simmons
- [experimental-ims] a4e2d47 All relevant BSD's have a testable kqueue now.
Geoff Simmons
- [experimental-ims] 3d43f62 Add support for banning on http.status
Geoff Simmons
- [experimental-ims] b70a93c Fix typo
Geoff Simmons
- [experimental-ims] b6efb69 Remove outdated comment
Geoff Simmons
- [experimental-ims] 0a96b48 Add explanation for Varnish "hashing" in light of advisories.
Geoff Simmons
- [experimental-ims] 1fbff54 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache
Geoff Simmons
- [experimental-ims] 84f098e Get rid of unused variable, fixes compilation problem with newer gcc
Geoff Simmons
- [experimental-ims] 6bec2c8 Fix a buglet in handling non-ascii strings in VCL, now that we (I) have decided what the strategy is going to be for synthetic in the future.
Geoff Simmons
- [experimental-ims] 5ecc60f Merge master -> experimental-ims
Geoff Simmons
- [experimental-ims] 51ee983 Bugfixes for merge master -> experimental-ims to pass varnishtest
Geoff Simmons
- [experimental-ims] c656cdc Fix conditional backend request in streaming mode
Geoff Simmons
- [experimental-ims] 42654fd Bugfixes in experimental-ims: - TTL was set to -1 after a 304 response - Operation with do_stream = true experimental-ims now passes (my version of) the rapid expire stress test
Geoff Simmons
- [experimental-ims] 2bcd2f0 Added an introduction. Brushed up the chapter on varnish in a virtualized environment
Geoff Simmons
- [experimental-ims] bf78ea9 typo. Thanks scoof
Geoff Simmons
- [experimental-ims] 0802b1f Handle the case of sub being NULL
Geoff Simmons
- [experimental-ims] b73b1a0 Update .gitignore
Geoff Simmons
- [experimental-ims] 872c478 Actually use a default (80) if no port is specified
Geoff Simmons
- [experimental-ims] 77a7e83 Update syntax for 3.0
Geoff Simmons
- [experimental-ims] 3eea8da Use sp->vsl_id as thread identifier
Geoff Simmons
- [experimental-ims] d0be5ad Add __printflike and fix everything that brings to light
Geoff Simmons
- [experimental-ims] 5b8d896 By Slink, via Geoff:
Geoff Simmons
- [experimental-ims] ca587d1 Simplify vry_cmp's signature
Geoff Simmons
- [experimental-ims] 0471b9b Add support for the %{format}t construct to varnishncsa
Geoff Simmons
- [experimental-ims] b05baa6 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache into experimental-ims
Geoff Simmons
- [experimental-ims] 05184e9 Minor cleanups while waiting for tests
Geoff Simmons
- [experimental-ims] 41a9730 Remove unused cruft from the HTTP header table.
Geoff Simmons
- [experimental-ims] dd103d3 Cleanup http filtering operations:
Geoff Simmons
- [experimental-ims] 4c8f484 A bit of cleanup of the filtering stuff
Geoff Simmons
- [experimental-ims] 5c39139 Merge master -> experimental-ims Retaining http_copyheader() in cache_http.c (factored out of master) because IMS uses it to copy from stale_obj to req->obj
Geoff Simmons
- [experimental-ims] c1635fa remove the experimental flag from http_range_support
Geoff Simmons
- [experimental-ims] bbecdd2 speling
Geoff Simmons
- [experimental-ims] eb7cbda Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache into experimental-ims
Geoff Simmons
- [experimental-ims] 299d2da Force lookup of kss resources and fix cached creation of objects in Plone
Geoff Simmons
- [experimental-ims] 3cf4dfd Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache into experimental-ims
Geoff Simmons
- [experimental-ims] bf913ad Don't forget to do the stats when a request is aborted
Geoff Simmons
- [experimental-ims] b499af9 Stop accept() timeouts from being counted as sess_fail in varnishstat
Geoff Simmons
- [experimental-ims] cf0a45a Remove last traces of sess_workspace from logs
Geoff Simmons
- [experimental-ims] 29fcad4 stylistic nit
Geoff Simmons
- [experimental-ims] edf5144 Add the new pool-task API so Martin can see it.
Geoff Simmons
- [experimental-ims] f965f4d Forgot to pass the struct wrk* argument to the task function.
Geoff Simmons
- [experimental-ims] 7fc7fa7 Move the "schedule a session" code from cache_pool to cache_session where it rightfully belongs.
Geoff Simmons
- [experimental-ims] 273788a Move session scheduling to new task api
Geoff Simmons
- [experimental-ims] 5b969ad Remove the now unused queue of sessions.
Geoff Simmons
- [experimental-ims] 69256c8 Use the list in the embedded task object to hold idle threads that saves two pointers in workers.
Geoff Simmons
- [experimental-ims] ac78724 Move the freshly acceptted session code from cache_pool.c to cache_session.c
Geoff Simmons
- [experimental-ims] b04b83b Move the accept sockets into the new pool-task API and GC all the cruft now not needed.
Geoff Simmons
- [experimental-ims] e5a0c62 Don't try to stream when there is no body.
Geoff Simmons
- [experimental-ims] 0d03ebb Remove an old wart of dubious origin. I belive that this originally was related to the entry parameters of cnt_error(), but I belive it has long been OBE, and now gets in the way of streaming.
Geoff Simmons
- [experimental-ims] 7bbc60f Untangle cnt_error() entrance criteria:
Geoff Simmons
- [experimental-ims] 4c1abcb Go over the first couple of cache_center states with a bucket of polish.
Geoff Simmons
- [experimental-ims] 3e0e0ed Fix a test description
Geoff Simmons
- [experimental-ims] a2c53c8 Be more careful about handling the request-body.
Geoff Simmons
- [experimental-ims] 3d52af7 Continue polishing cache_center to make states and assumptions clearer for everybody.
Geoff Simmons
- [experimental-ims] 4a75131 Add testcase for restart in vcl_miss{}
Geoff Simmons
- [experimental-ims] c766bc8 Merge master -> experimental-ims
Geoff Simmons
- [experimental-ims] 3a1b9ca Make this test case more robust (and faster) by using the CLI to control backend health, rather than rely on probes.
Geoff Simmons
- [experimental-ims] b23cb23 cleaned out some cruft. Added links to the actual docs
Geoff Simmons
- [experimental-ims] db55f5f add link
Geoff Simmons
- [experimental-ims] a999224 Literal block colons in fully minimized form
Geoff Simmons
- [experimental-ims] 4f3e2e9 Rest of the literal block colons in fully minimized form
Geoff Simmons
- [experimental-ims] cff8e37 Make the invalid domains FQDN to save time if you have a long search-list.
Geoff Simmons
- [experimental-ims] 263383b Whitespace CDO.
Geoff Simmons
- [experimental-ims] ef4231f Work on the dot-graph while I ponder how streaming fits in.
Geoff Simmons
- [experimental-ims] e815d5a NB: VCL syntax change!
Geoff Simmons
- [experimental-ims] 58e4a20 s/wrk->busyobj->/bo->/ in cnt_fetchbody() (with a few notable exceptions.)
Geoff Simmons
- [experimental-ims] 66bc91d Merge master -> experimental-ims
Geoff Simmons
- [experimental-ims] 3df9ebf Moved sp->stale_obj to busyobj->stale_obj
Geoff Simmons
- [experimental-ims] ac35ccf Split "prepfetch" from "fetchbody"
Geoff Simmons
- [experimental-ims] 8a9ad30 More work on the dot graph
Geoff Simmons
- [experimental-ims] 1f8cdd7 Merge branch 'master' of ssh://git.varnish-cache.org/git/varnish-cache into experimental-ims
Geoff Simmons
Last message date:
Tue Jan 31 21:47:23 CET 2012
Archived on: Tue Jan 31 21:47:25 CET 2012
This archive was generated by
Pipermail 0.09 (Mailman edition).