No description provided.
Removes and embedded assignation for readability purposes.
Covers corner case in cherokee_buffer_move_to_begin
cherokee_buffer_move_to_begin did not cover the case when 'pos'
is equal to zero. It did not crash, although it was doing work
Fixes cherokee_buffer_remove_string() corner cases
The cases where cherokee_buffer_remove_string() received either a
NULL string to search for, or one empty were not properly handled.
cherokee_buffer_remove_chunk() corner cases coverage
Some of the corner cases of cherokee_buffer_remove_chunk() weren't
cherokee_buffer_crc32() did not handle empty buffers correctly.
Memory management improvement in cherokee_buffer_read_file
Allocate the memory to read a file into the buffer only after the file
has actually been opened successfully. Previously, the buffer was
grown before the file was open, so if it failed, the buffer was
Adds a sanity check in cherokee_buffer_read_from_fd
Adds a new sanity check in cherokee_buffer_read_from_fd()
to make sure the fd provided is actually valid.
Bug fix cherokee_buffer_multiply
It wasn't actually multiplying the content of the buffer by the
right number but the number plus one.