Ref count stream state and release when final (#73)
Previously, stream state was never released so that long-lived connections leaked memory. Now, stream states are reference-counted and freed from the stream slab when complete. Locally reset streams are retained so that received frames may be ignored.
This commit is contained in:
		
				
					committed by
					
						 Oliver Gould
						Oliver Gould
					
				
			
			
				
	
			
			
			
						parent
						
							daa54b9512
						
					
				
				
					commit
					5c0efcf8c4
				
			| @@ -1,4 +1,5 @@ | ||||
| mod buffer; | ||||
| mod counts; | ||||
| mod flow_control; | ||||
| mod prioritize; | ||||
| mod recv; | ||||
| @@ -12,6 +13,7 @@ pub(crate) use self::streams::{Streams, StreamRef}; | ||||
| pub(crate) use self::prioritize::Prioritized; | ||||
|  | ||||
| use self::buffer::Buffer; | ||||
| use self::counts::Counts; | ||||
| use self::flow_control::FlowControl; | ||||
| use self::prioritize::Prioritize; | ||||
| use self::recv::Recv; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user