make-http2-client-connection broken
Issue #240
resolved
Hi,
While trying to build an HTTP2 client starting from an example from the Sagittarius reference manual, I get:
sash> (import (rfc http2))
#<unspecified>
sash> (define conn (make-http2-client-connection "twitter.com" "443" :secure? #t))
Unhandled exception
Condition components:
1. &error
2. &message object of class #<class <tls-extension>> doesn't have such slot: date
3. &stack-trace
stack trace:
[1] tls-client-handshake
src: (slot-ref e 'date)
"/usr/local/share/sagittarius/0.9.2/sitelib/rfc/tls/socket.scm":204
[2] make-http2-client-connection
[3] #f
src: (make-http2-client-connection "twitter.com" "443"
[4] eval
[5] #f
src: ((current-evaluator) form interactive-environment)
"/usr/local/share/sagittarius/0.9.2/lib/sagittarius/interactive.scm":147
[6] with-error-handler
[7] read-eval-print-loop
src: (call-with-current-continuation (lambda (continue)
"/usr/local/share/sagittarius/0.9.2/lib/sagittarius/interactive.scm":130
[8] eval
I'm running on FreeBSD 11.1
(amd64
) with OpenSSL 1.0.2o
, in case this is of use.
Please let me know if you need more information from me.
Thanks!
Comments (3)
-
repo owner -
repo owner -
assigned issue to
-
assigned issue to
-
repo owner - changed status to resolved
- Log in to comment
Thank you for the report!
This is enbugged when the TLS socket is switched to OpenSSL (or SChannel). I'll look into it asap.