As an effort to improve error handling of http2 code...

Previously, we just ignored error code passed to
on_stream_close_callback and just return 0 (success) after stream
closure even if stream was reset with error.  This patch records error
code in on_stream_close_callback, and return -1 and use CURLE_HTTP2
error code on abnormal stream closure.

Best regards,
Tatsuhiro Tsujikawa

Attachment: 0001-http2-Return-error-if-stream-was-closed-with-other-t.patch.gz
Description: GNU Zip compressed data

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to