Comment 1 for bug 1339334

Revision history for this message
Martin C. Martin (martin-b69y0hv8h) wrote :

The read_data_length field really isn't needed. It's only ever read in repack_input_buffer(), and even then only when read_ptr == read_buffer, in which case it should be the same as read_buffer_length. Here's a patch which gets rid of it, without changing libmemcached's behavior except to fix the close_socket() issue.