mirror of
https://github.com/xtaci/smux.git
synced 2024-04-21 10:51:48 +00:00
fill prio
This commit is contained in:
@@ -467,6 +467,7 @@ func (s *Session) writeFrame(f Frame) (n int, err error) {
|
||||
// internal writeFrame version to support deadline used in keepalive
|
||||
func (s *Session) writeFrameInternal(f Frame, deadline <-chan time.Time, prio uint64) (int, error) {
|
||||
req := writeRequest{
|
||||
prio: prio,
|
||||
frame: f,
|
||||
result: make(chan writeResult, 1),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user