On Wed, Mar 03, 2004 at 07:45:19PM +0100, Johan Sundström (Achtung Liebe!) @ Pike (-) developers forum wrote:
(Hm. What a verbose way of saying "Is the source code available to someone who might feel inclined to help you?". :-)
Not that this is so big secret :) I was trying to find the problem... And the code to test (as simple as it can be):
--- trim --- #! /usr/local/bin/pike
void Handler(object req) { req->response_and_finish( ([ "data": "Got it!", "type": "text/plain", "error": 200 ]) ); }
object ServerListener;
int main(int argc, array(string) argv) { object ServerListener;
ServerListener = Protocols.HTTP.Server.SSLPort(Handler, 8443, "127.0.0.1"); return -1; } --- trim ---
As I said already, works perfectly under 7.4, but fails with 7.5. The failure trace (-DSSL3_DEBUG):
...blabla... Decrypting packet.. version[1]=0 SSL.connection: received packet of type 20 tried change_cipher: 0 Decrypting packet.. version[1]=0 Failed MAC-verification!! SSL.connection: Bad received packet SSL.connection->send_packet: type 21, desc 20, pri 1, "\2\24" ...blabla...
Something is wrong... But too deep for me - I am not familiar with this code...
Regards, /Al