mirror of https://github.com/XTLS/Xray-core
				
				
				
			Fixed a bug that mux.Session could not be properly closed when receiving an End status.
							parent
							
								
									b8e8229242
								
							
						
					
					
						commit
						3e4e050313
					
				| 
						 | 
				
			
			@ -355,6 +355,7 @@ func (m *ClientWorker) handleStatusEnd(meta *FrameMetadata, reader *buf.Buffered
 | 
			
		|||
			common.Interrupt(s.input)
 | 
			
		||||
			common.Interrupt(s.output)
 | 
			
		||||
		}
 | 
			
		||||
		common.Interrupt(s.input)
 | 
			
		||||
		s.Close()
 | 
			
		||||
	}
 | 
			
		||||
	if meta.Option.Has(OptionData) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -202,6 +202,7 @@ func (w *ServerWorker) handleStatusEnd(meta *FrameMetadata, reader *buf.Buffered
 | 
			
		|||
			common.Interrupt(s.input)
 | 
			
		||||
			common.Interrupt(s.output)
 | 
			
		||||
		}
 | 
			
		||||
		common.Interrupt(s.input)
 | 
			
		||||
		s.Close()
 | 
			
		||||
	}
 | 
			
		||||
	if meta.Option.Has(OptionData) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue