mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-01 01:44:15 +00:00
SplitHTTP: Do not produce too large upload (#3691)
This commit is contained in:
parent
1562e1ffb9
commit
160316d53c
4 changed files with 108 additions and 6 deletions
|
@ -19,6 +19,10 @@ func (w *Writer) Close() error {
|
|||
return w.pipe.Close()
|
||||
}
|
||||
|
||||
func (w *Writer) Len() int32 {
|
||||
return w.pipe.Len()
|
||||
}
|
||||
|
||||
// Interrupt implements common.Interruptible.
|
||||
func (w *Writer) Interrupt() {
|
||||
w.pipe.Interrupt()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue