orthecreedence / drakma-async

An asynchronous version of drakma that runs off of cl-async
38 stars 5 forks source link

SSL doesnt work using latest ql version #33

Closed nightshade427 closed 9 years ago

nightshade427 commented 9 years ago

I get an error when using using latest ql version and cl-async master

 (as:with-event-loop ()                                                                                         
           (bb:catcher                                                                                                  
            (bb:alet ((result (das:http-request "https://www.firma8.com/")))                                            
              (format t "result: ~s" result))                                                                           
            (t (e) (format t "error: ~a" e))))

Error:

There is no applicable method for the generic function                                                                  
  #<STANDARD-GENERIC-FUNCTION                                                                                           
    (SETF CL-ASYNC-SSL::SOCKET-SSL-FUNCTION) (1)>                                                                       
when called with arguments                                                                                              
  (CL-ASYNC-SSL::SSL-CONNECT                                                                                            
   #<CL-ASYNC:ASYNC-IO-STREAM {100CA7A063}>).                                                                           
   [Condition of type SIMPLE-ERROR]
nightshade427 commented 9 years ago

Looks like this is an issue in cl-async master when using stream:t and ssl. Im going to open issue there and reference it here as well.

https://github.com/orthecreedence/cl-async/issues/126

orthecreedence commented 9 years ago

Closing in favor of cl-async issue.