Re: ssl stream pipe

2010-10-02 Thread Nelson B Bolyard
On 2010-10-02 09:11 PDT, passfree wrote: > The problem is within the write method of the component which fails > for some unknown reasons. Here is the code I am using for testing: > > char b[] = { "12345" }; > int result = PR_Write(sfd, &b, 5); > > if (r

ssl stream pipe

2010-10-02 Thread passfree
Hi, I am trying to build a SSL stream pipe component and I am stuck so I am hoping someone can give me the right direction. the component is used like this: let p = CC['sslpipe'].createInterface(CI.ISSLPipe); p.init(); p.write("GET / HTTP/1.0\r\n\r\n"); Now when p.read(