Flushing buffered port causes non positional custom port flush.

Issue #158 resolved
Takashi Kato repo owner created an issue
(import (rnrs) (rfc http) (rfc base64))

(define (basic-auth-string user password)
  (string-append "Basic "
                 (base64-encode-string (string-append user ":" password))))

(define (access)
  (receive (status header body)
      (http-get "htaccess.cman.jp"
                "/sample_go/basic/"
                :secure #t
                :authorization (basic-auth-string "guest" "password"))
    body))
(display (access)) (newline)

Reported by @SaitoAtsushi

Comments (2)

  1. Takashi Kato reporter

    Using Sg_HasSetPortPosition to check if the given port has set port position on buffered port (Fixes #158) Dont use stupid macro version of WriteConsole to write ASCII string.

    → <<cset bcf102d5d1b5>>

  2. Log in to comment