Check-in [87d7c791f5]
Bounty program for improvements to Tcl and certain Tcl packages.
Overview
Comment:Print a debug message when handshaking works but an error is being captured
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 87d7c791f51df58005458b1f2b31cc3ebd8bcecc
User & Date: rkeene on 2017-05-01 14:42:25
Other Links: manifest | tags
Context
2017-05-30
20:46
Updated to use the shell to to find the shell rather than relying on /usr/bin/env check-in: 1370fceb9d user: rkeene tags: trunk
2017-05-01
14:45
Merged in changes from trunk check-in: 0cd14baf5e user: rkeene tags: tls-1-7
14:42
Print a debug message when handshaking works but an error is being captured check-in: 87d7c791f5 user: rkeene tags: trunk
14:41
Fixed an issue where EAGAIN was translated into a successful handshake, addressing [1367823d51] check-in: 689d55e070 user: rkeene tags: trunk
Changes

Modified tls.c from [8221535697] to [0dc23990ac].

674
675
676
677
678
679
680




681
682
683
684
685
686
687
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691






+
+
+
+







			errStr = Tcl_PosixError(interp);
		}

		Tcl_AppendResult(interp, "handshake failed: ", errStr, (char *) NULL);
		dprintf("Returning TCL_ERROR with handshake failed: %s", errStr);
		return(TCL_ERROR);
	} else {
		if (err != 0) {
			dprintf("Got an error with a completed handshake: err = %i", err);
		}

		ret = 1;
	}

	dprintf("Returning TCL_OK with data \"%i\"", ret);
	Tcl_SetObjResult(interp, Tcl_NewIntObj(ret));
	return(TCL_OK);