File tree 3 files changed +0
-11
lines changed
3 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -474,14 +474,6 @@ function onSessionQlog(str) {
474
474
}
475
475
}
476
476
477
- // Called when an error occurs in a QuicSession. When this happens,
478
- // the only remedy is to destroy the session.
479
- function onSessionError ( error ) {
480
- if ( this [ owner_symbol ] ) {
481
- this [ owner_symbol ] . destroy ( error ) ;
482
- }
483
- }
484
-
485
477
// Called by the C++ internals when a client QuicSession receives
486
478
// a version negotiation response from the server.
487
479
function onSessionVersionNegotiation (
@@ -570,7 +562,6 @@ setCallbacks({
570
562
onSessionClientHello,
571
563
onSessionClose,
572
564
onSessionDestroyed,
573
- onSessionError,
574
565
onSessionHandshake,
575
566
onSessionKeylog,
576
567
onSessionQlog,
Original file line number Diff line number Diff line change @@ -455,7 +455,6 @@ constexpr size_t kFsStatsBufferLength =
455
455
V(quic_on_session_client_hello_function, v8::Function) \
456
456
V(quic_on_session_close_function, v8::Function) \
457
457
V(quic_on_session_destroyed_function, v8::Function) \
458
- V(quic_on_session_error_function, v8::Function) \
459
458
V(quic_on_session_handshake_function, v8::Function) \
460
459
V(quic_on_session_keylog_function, v8::Function) \
461
460
V(quic_on_session_path_validation_function, v8::Function) \
Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ void QuicSetCallbacks(const FunctionCallbackInfo<Value>& args) {
60
60
SETFUNCTION (" onSessionClientHello" , session_client_hello);
61
61
SETFUNCTION (" onSessionClose" , session_close);
62
62
SETFUNCTION (" onSessionDestroyed" , session_destroyed);
63
- SETFUNCTION (" onSessionError" , session_error);
64
63
SETFUNCTION (" onSessionHandshake" , session_handshake);
65
64
SETFUNCTION (" onSessionKeylog" , session_keylog);
66
65
SETFUNCTION (" onSessionUsePreferredAddress" , session_use_preferred_address);
You can’t perform that action at this time.
0 commit comments