Date | Commit message (Collapse) |
|
This makes it easier to notice a typo, too.
|
|
We need to implement our own hash functions for splitting
databases across multiple files. This was totally fucking up
Rainbows!
|
|
Most (other) users only need a single file, even though
my primary use of this is for multiple files.
|
|
It makes future extensions difficult. HEAD requests
aren't common enough to be worth optimizing for.
|
|
We'll need it for implementing the deflater/inflater
|
|
The :exclusive mode behaves like TokyoTyrant and keeps the
database opened in read-write mode, preventing other processes
from accessing the database. This will be useful on Rubies
without a GVL.
:readonly no longer disables locking by default
instead "rdlock=false" must be passed in the query
parameter. Write locks may also be disabled with
the "wrlock=false" query parameter.
|
|
Some other databases will be able to utilize these
variables.
|
|
use 403 to reject PUT/DELETE requests
|
|
This fixes 404s on HEAD requests which do not return a body.
|
|
No point in using more lines than we need to.
|
|
It will be useful when we support other backends.
|
|
It's less typing and less likely to clash on both
the eyes and the interpreter.
|