YIHONG-JIN commented on code in PR #11890: URL: https://github.com/apache/trafficserver/pull/11890#discussion_r1930065704
########## src/iocore/eventsystem/P_IOBuffer.h: ########## @@ -656,6 +656,15 @@ new_MIOBuffer_internal(const char *location, int64_t size_index) TS_INLINE void free_MIOBuffer(MIOBuffer *mio) { +#if TS_USE_LINUX_SPLICE + // check if mio is PipeIOBuffer using dynamic_cast + PipeIOBuffer *pipe_mio = dynamic_cast<PipeIOBuffer *>(mio); Review Comment: Will keep it as it was until figure out how to implement real polymorphism here. More background info required. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@trafficserver.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org