.. versionadded:: 1.9.0
- Set a Lua function that will be called everytime a new dynamic block is inserted. The function receives:
+ Set a Lua function that will be called every time a new dynamic block is inserted. The function receives:
* an integer whose value is 0 if the block is Netmask-based one (Client IP or range) and 1 instead (Domain name suffix)
* the key (Client IP/range or domain suffix) as a string
.. versionadded:: 1.9.6
- Set a Lua function that will be called everytime a new tickets key is added. The function receives:
+ Set a Lua function that will be called every time a new tickets key is added. The function receives:
* the key content as a string
* the keylen as an integer
}
/* Tries to read exactly toRead - pos bytes into the buffer, starting at position pos.
- Updates pos everytime a successful read occurs,
+ Updates pos every time a successful read occurs,
throws an std::runtime_error in case of IO error,
return Done when toRead bytes have been read, needRead or needWrite if the IO operation
would block.
}
/* Tries to write exactly toWrite - pos bytes from the buffer, starting at position pos.
- Updates pos everytime a successful write occurs,
+ Updates pos every time a successful write occurs,
throws an std::runtime_error in case of IO error,
return Done when toWrite bytes have been written, needRead or needWrite if the IO operation
would block.