summaryrefslogtreecommitdiff
path: root/t/maxconns.t
Commit message (Collapse)AuthorAgeFilesLines
* Find perl via /usr/bin/env instead of directlyDavid CARLIER2022-08-251-1/+1
| | | | | At least FreeBSD has perl in /usr/local/bin/perl and no symlink by default.
* tests: repair race in maxconns.t testdormando2022-02-091-2/+11
| | | | | lsitener thread may not have actually accepted everything by the time we start closing them, so it might not show rejected connections.
* Fix full unit test suite under test_tlsKevin Lin2021-11-231-0/+2
| | | | | This allows `make test_tls` to reliably pass when running without parallelism.
* tests: maxconns test when extstore enableddormando2021-11-031-24/+42
| | | | seems to pass...
* fix connection limit testspkarumanchi92020-10-301-20/+29
| | | | Also changes the maxconns_fast test to check against the highest fd
* start of valgrind test modedormando2020-05-121-1/+5
| | | | | | | heavily influenced by @jefyt's example. needs: valgrind is silenced, but any way to "fail the test" with valgrind-died error?
* experimental maxconns_fast optiondormando2011-09-271-1/+3
| | | | | | | | | | | | | Also fixes -c option to allow reducing the maximum connection limit. This gives a new option "-o maxconns_fast", which changes how memcached handles hitting the maximum connection limit. By default, it disables the accept listener and new connections will wait in the listen queue. With maxconns_fast enabled, new connections over the limited have an error written to them and are immediately closed by the listener thread. This is currently experimental, as we aren't sure how clients will handle the change. It may become the default in the future.
* updated unit tests, better spec filePaul Lindner2007-05-121-11/+1
| | | | git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@557 b0b603af-a30f-0410-a34e-baf09ae79d0b
* Make this test pass for now, mark with TODOPaul Lindner2007-03-201-10/+14
| | | | git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@475 b0b603af-a30f-0410-a34e-baf09ae79d0b
* * Remove unused parameter to item_size_ok()Paul Lindner2007-03-191-0/+32
* Use a single printf() in usage() * Add a failing test for conforming with maximum connections. git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@473 b0b603af-a30f-0410-a34e-baf09ae79d0b