public UnbindContext ( |
||
context | ||
리턴 | void |
public void Close() { if (o_stream != null) { Stream st = o_stream; st.Close(); o_stream = null; } if (sock != null) { if (chunked && context.Response.ForceCloseChunked == false) { // Don't close. Keep working. chunked_uses++; Init(); BeginReadRequest(); return; } Socket s = sock; sock = null; try { s.Shutdown(SocketShutdown.Both); } finally { s.Close(); } if (context_bound) { epl.UnbindContext(context); } } }
void Unbind() { if (context_bound) { epl.UnbindContext(context); context_bound = false; } }
private void Unbind() { if (_contextBound) { _epl.UnbindContext(_context); _contextBound = false; } }