Actually, I'm not sure `cl` can be null if `CollectAccumulatedWrites` returns `NGX_OK`.  Looking through the code, that means `string_piece_to_buffer_chain` is giving a null output without reporting an error.  And I don't see how that could happen.