Re: [Chicken-users] Re: https
Am Samstag, den 25.03.2006, 02:23 -0300 schrieb Mario Domenech Goulart: Hello Daishi Daishi Kato wrote: Is anyone interested in supporting SSL in the http egg? How stable and usable is the openssl egg? I'm very interested in this feature. I'm afraid I don't know enough about the http egg implementation to dare to implement SSL support. But, still, as a user, I'm very interested (oh, how easy is this way :-)). Just a remark: user level threads (as in chicken) are not SMP friendly http://xmog.com/scrap/show/12 To mitigate the effect it's worth to run the SSL layer as a separate process using stunnel, sslwrap or similar. There's a limitation however: those have no way to inform the application of client side certificates (for normal SSL enabled servers that's no problem, client side certificates are rarely used). If you need this feature, there's a custom stunnel in the rscheme library (rscheme.org, GPL) - rewriting the Scheme-side should be fairly easy with chicken. There's a Python recipe for adding SSL support to a simple web-server at http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/442473. Maybe it can be used as a basic guideline. PS: this is a fake reply. I actually copied the original message from the mailing list web interface. Maybe this will mess your e-mail reader a little bit. I apologize in advance. Best wishes, Mario ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] string-split-fields
The following expressions: (string-split-fields foo foobarfooquuxfoo foo baz foo #:infix) (string-split-fields foo foobarfooquuxfoo foo baz foo #:suffix) (string-split-fields foo foobarfooquuxfoo foo baz #:infix) all return the same, while (string-split-fields foo foobarfooquuxfoo foo baz #:suffix) dies with an error, which I guess makes sense. Would you please consider updating the #!:infix variant so that (string-split-fields foo foobarfooquuxfoo foo baz foo #:infix) returns an extra at the end of the list, to distinguish it from (string-split-fields foo foobarfooquuxfoo foo baz #:infix) Sunnan PS My tinyclos/syntax-case problem that I reported earlier remains unsolved. I'll download darcs chicken and see if it' still there. ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] Trapping Scheme-level errors
I'm using Chicken 2.3 under Cygwin to develop an interpreter for a non-Scheme language with its own REPL. I would like to trap Scheme errors, such as attempt to take the car of (), and continue the non-Scheme REPL instead of Scheme's. This will be particularly important in the compiled version of the interpreter. What's the right way to do that? Defining error-handler doesn't seem to do anything either in interpreted or compiled code. -- John Cowan [EMAIL PROTECTED] http://www.ap.org But no living man am I! You look upon a woman. Eowyn I am, Eomund's daughter. You stand between me and my lord and kin. Begone, if you be not deathless. For living or dark undead, I will smite you if you touch him. ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users