[ijent] Add flushing during sending to TCP tunnel

(cherry picked from commit e033b24dff7175e0ca9adb2f71f9ba60c9dc6292)

IJ-CR-149115

GitOrigin-RevId: d8ae4f88c3bdc2c2bf826c89ee66ce7c34556747
This commit is contained in:
Konstantin.Nisht
2024-11-11 18:35:32 +01:00
committed by intellij-monorepo-bot
parent 575c9f9323
commit a1beebb22a

View File

@@ -112,6 +112,7 @@ private fun CoroutineScope.redirectIJentDataToClientConnection(connectionId: Int
try {
runInterruptible {
outputStream.write(data.toByteArray())
outputStream.flush()
}
}
catch (e: SocketTimeoutException) {