mirror of
https://github.com/moparisthebest/curl
synced 2024-11-17 15:05:02 -05:00
34cf40321c
A struct bufref holds a buffer pointer, a data size and a destructor. When freed or its contents are changed, the previous buffer is implicitly released by the associated destructor. The data size, although not used internally, allows binary data support. A unit test checks its handling methods: test 1661 Closes #6654
23 lines
204 B
Plaintext
23 lines
204 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
unittest
|
|
bufref
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
unittest
|
|
</features>
|
|
<name>
|
|
bufref unit tests
|
|
</name>
|
|
</client>
|
|
</testcase>
|