[go-nuts] Error - Redefinition of 'GoString' as different kind of symbol

2016-11-30 Thread laszlo . hordos
Hi, I'm trying to write a CGo shared library and I get a error always because I found these two definition in https://github.com/golang/go/blob/master/src/cmd/cgo/out.go *typedef struct { const char *p; GoInt n; } GoString;* * _GoString_ GoString(char *p);* I just wrote a simple sample co

[go-nuts] Client access to TLS Session-ID

2016-11-22 Thread laszlo . hordos
Hi, I'd like to implement a Client app in go which accesses to a Java HTTPS server and it uses the TLS Session-ID to protect against Man-in-the-middle attack and bind to one single TLS Session. When I use the Java Servlet the specification http://download.oracle.com/otn-pub/jcp/servlet-3.0-fr