unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Adding (ice-9 suspendable-ports) support to https / custom ports
@ 2017-07-04 16:04 Christopher Allan Webber
  2017-07-27  5:14 ` Christopher Allan Webber
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Allan Webber @ 2017-07-04 16:04 UTC (permalink / raw)
  To: guile-devel

Hiya,

For the project I'm working on, I'll need to have (ice-9
suspendable-ports) work with https.  This is a bit more urgent than I
realized.  I'm willing to attempt the work, but I don't even know where
to start.

Could someone give me pointers as to where to begin spelunking?  I'm
guessing I have to both follow the lead of the suspendable-ports
adjustments to normal ports and also enable fnctl support for custom
ports?  Specifically, I imagine that this needs to be supported:

     (let ((flags (fcntl socket F_GETFL)))
       (fcntl socket F_SETFL (logior O_NONBLOCK flags)))

Either that or we need some generalized procedure that can either do
this to a port which does set fnctl or... I don't know what it would do
for something which doesn't need to run that operation.

Advice appreciated!
 - Chris



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-27  5:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-04 16:04 Adding (ice-9 suspendable-ports) support to https / custom ports Christopher Allan Webber
2017-07-27  5:14 ` Christopher Allan Webber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).