Comments (12)
I have implemented a [proxy( method in the branch proxy
. Please build and try, the method is documented in the help as well.
Reading system wide proxy settings is not trivial, and I will not do it in the foreseeable future.
If it is working, I will include the function in the next release and will document it in the wiki and manual.
from purestjson.
@deedos Have you had any chance to test the functionality? Im preparing another release for December and would like to include it.
from purestjson.
Hi Thomas.
I have not yet, once I was using unfortunetely o n Windows and is quite
difficult to compile on it. I'll make my best to test using ubuntu asap and
repot you back. Thanks a lot
2015-11-10 12:02 GMT-02:00 Thomas Mayer [email protected]:
@deedos https://github.com/deedos Have you had any chance to test the
functionality?—
Reply to this email directly or view it on GitHub
#38 (comment).
Daniel Roviriego
(21) 972361654
from purestjson.
I have compiled [rest] and [oauth] and packed it with the updated help: https://ssl-account.com/cloud.residuum.org/index.php/s/lziFBW7OkcoDcpi
from purestjson.
@deedos have you been able to test?
from purestjson.
@residuum I could that now! Not so good news,
I declare a working proxy for my network and it does not work. When banging "GET http://ix.residuum.org/pd/proxy_test.php" to my "oauth" object I get: "Error while performing request: Failure when receiving data from the peer". and sometimes I get this error as well "status: 56 Failure when receiving data from the peer"
Nevertheless, when using the proxy with the REST object, it´s working as expected.I bang I get my IP back.
I ´m using Windows 2008 Server, purestJSON 1.3 versions with your pre compilled binaries. many thanks
from purestjson.
I am not understanding your last remarks. Do you mean, that using the [proxy parameters(
message does not enable using your proxy? Or do you mean that the object does not take your default OS proxy?
from purestjson.
The proxy features works for "rest" and do not work for "oauth".
Thanks
Em 25/11/2015 21:27, "Thomas Mayer" [email protected] escreveu:
I am not understanding your last remarks. Do you mean, that using the [proxy
parameters( message does not enable using your proxy? Or do you mean that
the object does not take your default OS proxy?—
Reply to this email directly or view it on GitHub
#38 (comment).
from purestjson.
This is strange, because testing [oauth]
with the proxy method is working here, I have verified with Wireshark.
If you e.g. rename [rest]
to [oauth]
in the help patch, then no state is saved, you will have to send a new [proxy(
message to the [oauth]
object before making a request using that proxy.
from purestjson.
A possibility: Are you calling a TLS secured domain? In that case, you need to download SSL certificates in PEM format, see the compilation instructions for the link. It must be saved to the same folder as [rest]
and [oauth]
and be called cacert.pem
(see ctw.c)
from purestjson.
Hi Thomas.
I'm using with twitter api endpoints, probably is a TLS secured domain, no
? Even though, I 'm using the disbale ssl feature. Anyway, I 'll try this
asap and give a feedback. thanks again !
2015-11-26 21:12 GMT-02:00 Thomas Mayer [email protected]:
A possibility: Are you calling a TLS secured domain? In that case, you
need to download SSL certificates in PEM format, see the compilation
instructions
https://github.com/residuum/PuRestJson/wiki/Compilation#cross-compilation-for-windows-on-unix-like-systems-linux--bsd--mac-os-x-with-mxe
for the link. It must be saved to the same folder as [rest] and [oauth]
and be called cacert.pem (see ctw.c
https://github.com/residuum/PuRestJson/blob/master/src/inc/ctw.c#L633)—
Reply to this email directly or view it on GitHub
#38 (comment).
Daniel Roviriego
(21) 972361654
from purestjson.
Included in latest release.
from purestjson.
Related Issues (20)
- x
- `rest-json` couldn't create HOT 5
- [oauth] 1.4.3 not working on windows10 HOT 1
- [oauth] problem in OSX HOT 3
- Unable to read json file using json-encode
- switch [import] for [declare] HOT 1
- unittests shouldn't hardcode relative paths
- python3 support for unittests HOT 1
- unittests stall if something goes wrong
- Error 77: Problem with the SSL CA cert (path? access rights?) HOT 9
- error: implicit declaration of function 'error' is invalid in C99 HOT 6
- Compiling dance on Darwin arm64 OSX12.6.1 HOT 2
- nested objects won't work on OSX HOT 3
- Windows: Cancellation of Requests is not working
- Linux Packaging: Include Dependencies in deken Files
- Update help for [rest] and [oauth]
- Update examples
- Cannot open [rest] and [oauth] on Mac HOT 3
- Include arm64 libraries in Deken package HOT 1
- Issues with Medea release under MacOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from purestjson.