As I was telling Grubba the other day, HTTPS client support seems to be broken in Pike 7.6.
This simple program:
int main() { Standards.URI uri = Standards.URI("https://www.verisign.com/"); Protocols.HTTP.Query q = Protocols.HTTP.get_url(uri); write("Status => %d\n", q->status); write("Data => %d bytes\n", sizeof(q->data())); return 0; }
works just fine in Pike 7.4, but in 7.6 it gets stuck in the call to q->data(), with an endless repition of the following syscalls:
gettimeofday({1114376339, 401883}, NULL) = 0 poll([{fd=11, events=POLLIN|POLLRDNORM}, {fd=9, events=POLLIN|POLLOUT|POLLRDNORM|POLLWRNORM, revents=POLLIN|POLLOUT|POLLRDNORM|POLLWRNORM}], 2, -1) = 1 gettimeofday({1114376339, 402005}, NULL) = 0 read(9, "", 8192) = 0
Mast?