Previously, tap-windows6 was happy to accept and buffer as many packets as the client could send. With some performance tests (including one in the HLK) this would typically lead the system to exhausting its memory as the performance test client would send as fast as possible.
This change limits the buffered data to fixed amount (TAP_BUFFER_SIZE), and delays acceptance of sends after that threshold is reached.
Previously, tap-windows6 was happy to accept and buffer as many packets as the client could send. With some performance tests (including one in the HLK) this would typically lead the system to exhausting its memory as the performance test client would send as fast as possible. This change limits the buffered data to fixed amount (TAP_BUFFER_SIZE), and delays acceptance of sends after that threshold is reached.