A few seconds ago, e...@racket-lang.org wrote: > e74f703 Eli Barzilay <e...@racket-lang.org> 2011-06-20 06:30 > : > | Hack: make the `net/url' implementation handle both "http" and > | "https" urls, dispatching to the plain tcp functions or the ssl > | one. > | > | (See "HACK" comment for a description on how this is done.) > : > M collects/net/url.rkt | 17 ++++++++++------- > M collects/net/url-unit.rkt | 39 +++++++++++++++++++++++++++++++++------
So the `net/url' hack is done. I basically made it do the dispatching version if it gets a void value for `tcp-connect' -- and `net/url' arranges for just that. Does anyone want to take on documenting the hack? Please? [The description should also say something about this default handling of ssl connections as an equivalent of clicking through your browsers warning (in fact, not even seeing them) -- so you can rely on the communication to be safe but not rely on the identity of the site you're contacting. (That will require dealing with a pool of trusted certificates and similar mess... It'll be good to make it possible to do something about it, but this is a stopgap anyway.)] -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev