search for: httplib

Displaying 20 results from an estimated 24 matches for "httplib".

2008 May 02
6
Python script to collect domU stats
I''ve attached a python script that collects stats from DomUs (HVM and PVM). I hope this would be useful for somebody else. See comments for more info. regards, Diego -- -------------- Diego Woitasen XTECH _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2015 Dec 23
1
Calibre installation fails on C7
...File "<string>", line 627, in download_and_extract File "<string>", line 619, in get_tarball_info File "<string>", line 578, in get_https_resource_securely File "<string>", line 487, in __init__ File "/usr/lib64/python2.7/httplib.py", line 1182, in __init__ context.load_cert_chain(cert_file, key_file) ssl.SSLError: [SSL] PEM lib (_ssl.c:2757) googling for that doesn't turn up much help for Calibre, though similar (but different) sets of errors turn up in a lot of places. So far I've not found any of them h...
2020 Aug 31
2
HTTP library in LLVM
On Mon, Aug 31, 2020 at 4:38 PM Petr Hosek via llvm-dev < llvm-dev at lists.llvm.org> wrote: > There are several options, I've looked at couple of them and the one I > like the most so far is https://github.com/yhirose/cpp-httplib for a few > reasons: > > * It's MIT licensed. > * It supports Linux, macOS and Windows (and presumably other platforms). > * It doesn't have any dependencies, it can optionally use zlib and OpenSSL. > * It's a modern C++11 implementation, the entire library is a single...
2020 Sep 01
2
HTTP library in LLVM
...licensed. > * [libcURL](https://curl.haxx.se/libcurl/) would be an option for the client, but we'd need a different library for the server. > * [libhttp](https://github.com/lammertb/libhttp) is another MIT licensed library that could be a fit, but it seems bigger and more featureful than httplib. > * [cpprestsdk](https://github.com/microsoft/cpprestsdk) has a lot of extra features we don't need, like websockets. > * [pistache](https://github.com/oktal/pistache) similarly has additional features and dependencies that are likely unnecessary. > * [crow](https://github.com/ipkn/cr...
2020 Aug 31
3
HTTP library in LLVM
+LLDB Dev <lldb-dev at lists.llvm.org> as well for visibility. +Pavel Labath <labath at google.com> since he and I have talked about such things. On Mon, Aug 31, 2020 at 7:26 PM David Blaikie <dblaikie at gmail.com> wrote: > [+debug info folks, just as FYI - since the immediate question's more > about 3rd party library deps than the nuances of DWARF, etc] > >
2018 Mar 12
1
[PATCH RHEL 7] RHEL 7: -o rhv-upload: Use Python 2 instead of Python
For interest only, here is the patch required to make -o rhv-upload work with Python 2 (for RHEL 7). I don't think we want this upstream. A couple of remarks: * It's supposed to be possible to add ‘coding: utf-8’ to the top of .py files to make Python 2 accept that the file is UTF-8 (otherwise it gives an error on loading). However I added this and it didn't appear to make any
2015 Dec 23
2
Calibre installation fails on C7
...y other e-reader formats. See: http://calibre-ebook.com/ The last version supported on CentOS6 is v1.48. The latest version is v2.47.0. On Tue, December 22, 2015 22:06, Fred Smith wrote: > Attempting to install latest Calibre on Centos-7, getting: . . . > File "/usr/lib64/python2.7/httplib.py", line 1182, in __init__ > context.load_cert_chain(cert_file, key_file) > ssl.SSLError: [SSL] PEM lib (_ssl.c:2757) > > > Can anybody advise me what this tells me? (other than SOMETHING wrong > with some certificate...) The error you are reporting may be due to some...
2015 May 21
2
[nbdkit python]: unable to locate modules
...wing error: nbdkit python script=/home/wspeirs/src/cldblkdev/cldblkdev.py Traceback (most recent call last): File "/home/wspeirs/src/cldblkdev/cldblkdev.py", line 5, in <module> import gcs File "/home/wspeirs/src/cldblkdev/gcs.py", line 2, in <module> import httplib2 File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 930, in <module> class HTTPSConnectionWithTimeout(httplib.HTTPSConnection): AttributeError: 'module' object has no attribute 'HTTPSConnection' Error in sys.excepthook: Traceback (most recen...
2015 Dec 23
4
Calibre installation fails on C7
...File "<string>", line 627, in download_and_extract File "<string>", line 619, in get_tarball_info File "<string>", line 578, in get_https_resource_securely File "<string>", line 487, in __init__ File "/usr/lib64/python2.7/httplib.py", line 1182, in __init__ context.load_cert_chain(cert_file, key_file) ssl.SSLError: [SSL] PEM lib (_ssl.c:2757) Can anybody advise me what this tells me? (other than SOMETHING wrong with some certificate...) Thanks! -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------...
2005 Aug 31
0
Problems creating DomUs with large memory system/PAE enabled
...or message (Error pfn) which I have attached here. I was not able to repeat this problem on my Dell Precision 470 with 1 GB RAM. Raj ----------------------- At the command-line ------------------------ SLES9SP2RC2-Zen:~/xen/vm # xm create vm2 Using config file "vm2". Unexpected error: httplib.BadStatusLine Please report to xen-devel@lists.xensource.com Traceback (most recent call last): File "/usr/sbin/xm", line 10, in ? main.main(sys.argv) File "/root/xen/xen-unstable.hg/dist/install/usr/lib/python/xen/xm/main.py", line 707, in main rc = cmd(args) Fil...
2015 Dec 23
0
Calibre installation fails on C7
...e-ebook.com/ > > The last version supported on CentOS6 is v1.48. The latest version is > v2.47.0. > > > On Tue, December 22, 2015 22:06, Fred Smith wrote: > > Attempting to install latest Calibre on Centos-7, getting: > . . . > > File "/usr/lib64/python2.7/httplib.py", line 1182, in __init__ > > context.load_cert_chain(cert_file, key_file) > > ssl.SSLError: [SSL] PEM lib (_ssl.c:2757) > > > > > > Can anybody advise me what this tells me? (other than SOMETHING wrong > > with some certificate...) > > > Th...
2018 Mar 14
3
Re: [PATCH v4 0/3] v2v: Add -o rhv-upload output mode.
On Mon, Mar 12, 2018 at 2:57 PM Eric Blake <eblake@redhat.com> wrote: > On 03/12/2018 07:13 AM, Nir Soffer wrote: > > On Mon, Mar 12, 2018 at 12:32 PM Richard W.M. Jones <rjones@redhat.com> > > wrote: > > > >> On Mon, Mar 12, 2018 at 07:13:52AM +0000, Nir Soffer wrote: > >>> On Fri, Mar 9, 2018 at 4:25 PM Richard W.M. Jones
2007 Nov 27
0
how do i use xen api with key and cert?
...st verbose=self.__verbose File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request return self._parse_response(h.getfile(), sock) File "/usr/lib/python2.4/xmlrpclib.py", line 1274, in _parse_response response = sock.recv(1024) File "/usr/lib/python2.4/httplib.py", line 1051, in recv return self._ssl.read(len) socket.sslerror: (6, ''TLS/SSL connection has been closed'') So can you please give an example how to attach to a key+cert-secured xen-api xml-rpc service. Cheers, Stephan _______________________________________________...
2018 Jun 25
0
[PATCH] v2v: rvh-upload-plugin: Always read the response
Python manual warns[1]: Note that you must have read the whole response before you can send a new request to the server. The reason for this warning is exposed only when the server is using keep alive connections. When the response is not read, sending a new request will fail with: httplib.ResponseNotReady Even if Content-Length was 0 or the request has no content. The failure looks like this when using --verbose: nbdkit: python[1]: debug: zero count=33554432 offset=0 may_trim=1 fua=0 nbdkit: python[1]: debug: zero count=33554432 offset=33554432 may_trim=1 fua=0 nbdkit: python[1]:...
2018 Mar 14
0
Re: [PATCH v4 0/3] v2v: Add -o rhv-upload output mode.
...rg/#/c/89022/ > > Wish I'd had this documentation when I started the patch :-) > Yes, it's much clearer. > > > I changed POST to PATCH to match the existing /tickets API, and > > this also seems to be more standard way to do such operations. > > Assuming Python httplib will allow us to put anything in the method > argument of http.putrequest then this doesn't appear to make any > significant difference so that's fine. Also we can set the "flush" > (ie. FUA) parameter to match the NBD request. > > > Please check and comment if...
2018 Mar 14
2
Re: [PATCH v4 0/3] v2v: Add -o rhv-upload output mode.
...ndom I/O: > https://gerrit.ovirt.org/#/c/89022/ Wish I'd had this documentation when I started the patch :-) Yes, it's much clearer. > I changed POST to PATCH to match the existing /tickets API, and > this also seems to be more standard way to do such operations. Assuming Python httplib will allow us to put anything in the method argument of http.putrequest then this doesn't appear to make any significant difference so that's fine. Also we can set the "flush" (ie. FUA) parameter to match the NBD request. > Please check and comment if this makes sense and ser...
2014 Mar 20
3
[LLVMdev] LNT internal server error
Re-poked. - Daniel On Wed, Mar 19, 2014 at 12:04 PM, Tobias Grosser <tobias at grosser.es> wrote: > On 03/11/2014 12:41 PM, Tobias Grosser wrote: > >> Hi Chris, hi Daniel, >> >> I see again internal server errors when visiting llvm.org/perf. I >> remember you have been restarting the service several times, but it >> seems it is happening again. Did
2018 Mar 26
0
Re: [PATCH v7 6/6] v2v: Add -o rhv-upload output mode (RHBZ#1557273).
...n header. > > > > + if h['can_zero']: > > > > + h['needs_auth'] = False > > > > In older proxy, we do support OPTIONS, used for allowing access > from enigne UI, but it does not return any content. Fortunately, we > return httplib.NO_CONTENT so it is easy to detect. > > So we need to handle gracefully r.status = 204 OK done. > > > > > > > > > > If we got here, we are working with new daemon or proxy, and both > > > of them do not need auth, so we can set 'needs_auth' to...
2018 Mar 25
6
Re: [PATCH v7 6/6] v2v: Add -o rhv-upload output mode (RHBZ#1557273).
...which never needs the Authorization header. > > > + if h['can_zero']: > > > + h['needs_auth'] = False > In older proxy, we do support OPTIONS, used for allowing access from enigne UI, but it does not return any content. Fortunately, we return httplib.NO_CONTENT so it is easy to detect. So we need to handle gracefully r.status = 204 > > > > > > > If we got here, we are working with new daemon or proxy, and both > > of them do not need auth, so we can set 'needs_auth' to False > > if OPTIONS returned 20...
2005 Sep 30
14
pdb missing files?
Hello, I''m trying to get PDB working in accordance with the instructions at http://www.cl.cam.ac.uk/~sos22/replay.bk/docs/misc/XenDebugger-HOWTO and a message from this list: http://lists.xensource.com/archives/html/xen-devel/2004-08/msg00017.html When I try to build pdb I first get errors because the Makefile is configured to treat warnings as errors, and there are some warnings.