Giter Club home page Giter Club logo

Comments (12)

residuum avatar residuum commented on June 20, 2024

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.

residuum avatar residuum commented on June 20, 2024

@deedos Have you had any chance to test the functionality? Im preparing another release for December and would like to include it.

from purestjson.

deedos avatar deedos commented on June 20, 2024

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.

residuum avatar residuum commented on June 20, 2024

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.

residuum avatar residuum commented on June 20, 2024

@deedos have you been able to test?

from purestjson.

deedos avatar deedos commented on June 20, 2024

@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.

residuum avatar residuum commented on June 20, 2024

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.

deedos avatar deedos commented on June 20, 2024

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.

residuum avatar residuum commented on June 20, 2024

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.

residuum avatar residuum commented on June 20, 2024

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.

deedos avatar deedos commented on June 20, 2024

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.

residuum avatar residuum commented on June 20, 2024

Included in latest release.

from purestjson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.