XOP-229: Stored in Stunnel.t if the connection is verified.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
XOP-229: Change keep_alive=true and http version = 1.1.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
XOP-229: The stunnel_cache key uses also the verify_cert bool.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
CA-83270: Remove the default value to verify_cert.

It prevents Stunnel.connect of actually checking the certificate.
The line: assert (not (verify_cert && use_tunnel_cache));
must be removed since verify_cert=None is undefined.
However, stunnel_cache need to be able to differentiate verified and
unverified connections after this commit, therefore the changes for
XOP-229 are necessary.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
Use unbuffered I/O to read from /dev/(u)random

Signed-off-by: Vincent Bernardoff <vincent.bernardoff@ocamlpro.com>
CP-3989/CP-3940: Add CPUID masking support for Intel Haswell DT and Ivy Bridge EN and EP

This adds CPU models 0x3c and 0x3e to the whitelist.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Merge pull request #126 from vbmithr/CA-85761

Use unbuffered I/O to read from /dev/(u)random
Merge pull request #124 from jeromemaloberti/XOP-229

XOP-229: Stunnel_cache fixes.
Merge pull request #123 from jeromemaloberti/CA-83270

CA-83270: Remove the default value to verify_cert.
CA-83270: fix incompatible changes with XOP-229.

Signed-off-by: Jerome Maloberti <jerome.maloberti@citrix.com>
Merge pull request #130 from jeromemaloberti/CA-83270-bis

CA-83270: fix incompatible changes with XOP-229.
CP-4480: Add a call to check whether PV drivers have started

This is modelled after a similarly named call in libxl. We
check the CALLBACK_IRQ status for HVM domains. This requires
no changes to libxc.

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge pull request #127 from robhoes/cpumasking

CP-3989/CP-3940: Add CPUID masking support for Intel Haswell DT and Ivy ...
Merge pull request #131 from jonludlam/CP-4480

CP-4480: Add a call to check whether PV drivers have started
CP-4465 contribution: less stunnel-related logging.
Merge pull request #132 from thomassa/lesslog

CP-4465 contribution: less stunnel-related logging.