The attached patch fixes the bug using growing_buffer as suggested. Let me know how it fits for style, I tried to maintain the tabs etc.
Please consider adding my SSH key to the OpenSRF working repo. This is the same one that is alread added to the Evergreen working repo:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8xfl59ziRrWxm80VkSebdJk7fAHRz/MhbRCIDOjlHcWvZN2UH7G5lkEHNUfYTLAX/5yI2mVzd/5ag30na4uY0/F6sIZdf7xAGnclzr2TILx7obvWvG57NwO4qkzgiyLocsnwHXmXQo2pkK0+ptzOFLGTT4G48knMB7Gy/LiJ9yUNaUzOrxsNmBHBMypdAfcdoFwm+oOeoaFecw92ZHHE0NT9ZpUYPhAQf0eMZ8m9s6SE5dIyDQAqeNli3SOzQ2/8mqd3fI92rc26aCNdivO26tYEJJxCZUsRUlYQGRVmBDzU0hjD60ZVhoYdF495ZIK7YUCudMDBNzt/xUd0SxM0X <email address hidden>
The attached patch fixes the bug using growing_buffer as suggested. Let me know how it fits for style, I tried to maintain the tabs etc.
Please consider adding my SSH key to the OpenSRF working repo. This is the same one that is alread added to the Evergreen working repo:
ssh-rsa AAAAB3NzaC1yc2E AAAADAQABAAABAQ C8xfl59ziRrWxm8 0VkSebdJk7fAHRz /MhbRCIDOjlHcWv ZN2UH7G5lkEHNUf YTLAX/5yI2mVzd/ 5ag30na4uY0/ F6sIZdf7xAGnclz r2TILx7obvWvG57 NwO4qkzgiyLocsn wHXmXQo2pkK0+ ptzOFLGTT4G48kn MB7Gy/LiJ9yUNaU zOrxsNmBHBMypdA fcdoFwm+ oOeoaFecw92ZHHE 0NT9ZpUYPhAQf0e MZ8m9s6SE5dIyDQ AqeNli3SOzQ2/ 8mqd3fI92rc26aC NdivO26tYEJJxCZ UsRUlYQGRVmBDzU 0hjD60ZVhoYdF49 5ZIK7YUCudMDBNz t/xUd0SxM0X <email address hidden>