File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1423,6 +1423,8 @@ const (
14231423// (field $dns_error_rcode u16)
14241424// (field $dns_error_info_code u16)
14251425// (field $tls_alert_id u8)
1426+ // (field $h2_error_frame u8)
1427+ // (field $h2_error_code u32)
14261428// ))
14271429
14281430// SendErrorDetail contains detailed error information from backend send operations.
@@ -1432,6 +1434,8 @@ type SendErrorDetail struct {
14321434 dnsErrorRCode prim.U16
14331435 dnsErrorInfoCode prim.U16
14341436 tlsAlertID prim.U8
1437+ h2ErrorFrame prim.U8
1438+ h2ErrorCode prim.U32
14351439}
14361440
14371441func newSendErrorDetail () SendErrorDetail {
@@ -1493,6 +1497,14 @@ func (d SendErrorDetail) TLSAlertID() uint8 {
14931497 return uint8 (d .tlsAlertID )
14941498}
14951499
1500+ func (d SendErrorDetail ) H2ErrorFrame () uint8 {
1501+ return uint8 (d .h2ErrorFrame )
1502+ }
1503+
1504+ func (d SendErrorDetail ) H2ErrorCode () uint32 {
1505+ return uint32 (d .h2ErrorCode )
1506+ }
1507+
14961508// TLSAlertDescription returns a human-readable description of the TLS alert.
14971509func (d SendErrorDetail ) TLSAlertDescription () string {
14981510 return tlsAlertString (d .tlsAlertID )
You can’t perform that action at this time.
0 commit comments