MCPcopy Create free account
hub / github.com/apache/trafficserver / clear

Method clear

src/proxy/http/HttpSM.cc:8837–8848  ·  view source on GitHub ↗

YTS Team, yamsat Plugin Deallocating the post data buffers

Source from the content-addressed store, hash-verified

8835// YTS Team, yamsat Plugin
8836// Deallocating the post data buffers
8837void
8838PostDataBuffers::clear()
8839{
8840 Dbg(dbg_ctl_http_redirect, "[PostDataBuffers::clear]");
8841
8842 if (this->postdata_copy_buffer != nullptr) {
8843 free_MIOBuffer(this->postdata_copy_buffer);
8844 this->postdata_copy_buffer = nullptr;
8845 this->postdata_copy_buffer_start = nullptr; // deallocated by the buffer
8846 }
8847 this->post_data_buffer_done = false;
8848}
8849
8850PostDataBuffers::~PostDataBuffers()
8851{

Callers 15

~PostDataBuffersMethod · 0.95
~HttpSMMethod · 0.45
do_http_server_openMethod · 0.45
issue_cache_updateMethod · 0.45
redirect_requestMethod · 0.45
purgeMethod · 0.45
reconfigureMethod · 0.45
update_current_infoFunction · 0.45
EndRemapRequestMethod · 0.45

Calls 1

free_MIOBufferFunction · 0.85

Tested by

no test coverage detected