* buckets/apr_brigade.c (apr_brigade_split_line): After finding an LF,
  only split the bucket if the LF is not the last character in the
  data.

* test/testbuckets.c (test_splitline_exactly): New test.

PR: 64273
Github: closes #53
Submitted by: Barnim Dzwillo <dzwillo strato.de>, jorton


Missed in r1915658:

* buckets/apr_brigade.c (apr_brigade_split_line): After finding an LF,
  only split the bucket if the LF is not the last character in the
  data.


Merges r1915658, r1915661 from ^/apr/apr/trunk
Submitted by: jorton


Merges r1916309 from ^/apr/apr-util/branches/1.7.x
Submitted by: ylavic


git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.6.x@1916310 13f79535-47bb-0310-9956-ffa450edef68
3 files changed