is log4cxx supports http or https appenders? - c++

In log4j 2 documents I am found http appender details to support http.
But I am not able to find any information on http appender in log4cxx.
is there any workaround for log4cxx to support http or https appender?

Related

using socks proxy with postman

We are trying use socks proxy for tunneling the requests through putty. It used to work in browser version of postman, as we it used to pickup chrome's proxy settings.
The standalone version of postman does not support socks proxy, it just accepts a proxy host and port and no parameters for the socks settings. Is there any way to use socks proxy with standlone postman?
Please advice.
The http-proxy-to-socks NodeJS client is suggested in a helpful post in the Github issue tracking Postman app support for SOCKS5 proxy.
If you have Node.js (and NPM) installed, you can install and configure http-proxy-to-socks on your system and then provide the resulting HTTP proxy values in the existing native Postman app HTTP/HTTPS proxy configuration settings.
On macOS, this simple command creates an HTTP proxy forwarding to my SOCKS proxy:
hpts -s 127.0.0.1:7941 -p 7951
In the Postman (v7.1.1 macOS) 'Proxy' section of preferences/settings, enabling the 'Global Proxy Configuration' and entering the '-p' port value from this command (as well as 'localhost') into the 'Proxy Server' inputs was successful for me.
This particular solution requires less alteration of existing settings in Postman than some other posts in that Github issue that suggest alternative workarounds where URLs have to be remapped to a specific localhost port or similar tedious changes.
One other option to use is a tool privoxy.
There is a blog post on how to use it with Postman: https://www.getpagespeed.com/server-setup/beyond-privoxy
In short, set the forwarding for a domain, where 127.0.0.1:8023 is the SOCKS proxy of yours. This can be done by adding the following line to /etc/privoxy/config.
forward-socks5 .domain.tld 127.0.0.1:8023 .
The default port privoxy listens on is 8118.
Finally configure Postman to use 127.0.0.1:8118 as proxy, i.e., using privoxy which forwards the requests to your SOCKS proxy.

How to test net.tcp binding WCF web services in Jmeter and soapui?

I am unable to test net.tcp wcf services in jmeter and soap ui.
it is showing Response message: java.net.UnknownHostException: net.tcp://******/WcfServiceLibrary1.Service1.svc/mex..your quick response will be help full.
Thanks in advance!!!
I believe you should use JMeter's TCP Sampler for this instead of HTTP Request sampler which supports only http, https anf file protocols.
I also think you will find How To Send Control Characters Using The JMeter TCP Sampler? article useful when it comes to sending non-alphanumeric data

HTTP Proxy Support in Google API Client Library for C++

Does Google API Client Library for C++ have support for HTTP Proxy? The use case examples for sending HTTP POST request at http://google.github.io/google-api-cpp-client/latest/guide/making_http_requests.html do not mention anything about HTTP Proxy Support. Does it have dependencies on external libraries like libcurl or libjingle for HTTP Proxy?
Thanks

Jetty log http header

I log the http request on server, but I don't have the HTTP Header.
How can I log the HTTP Header on server?
I do this : http://wiki.eclipse.org/Jetty/Tutorial/Sifting_Logs_with_Logback
My jetty's version is 8.1.3.
Thanks
Vince

Disabling HTTPS in Axis2 web service

I have created an Axis2 web service from Netbeans and deployed it successfully in Tomcat 6 on my web server.
When I use for instance SoapUI or Taverna to consume the web service, the server offers both HTTP and HTTPS methods to invoke it. However, using the HTTPS method renders a 404 error. (Probably because there is a server admin panel running on port 8443, but that doesn't matter right now.)
The problem is that my web service clients default to using the HTTPS service. I figured the simplest thing I could do to get the basic service to work, would be to disable the HTTPS endpoint, as the HTTP version runs flawlessly and I don't need the added security. But now I've spent hours on finding out how to do that, without success. The WSDL returned by Axis2 contains entries for HttpsSoap11Endpoint but the WSDL that's bundled in my .AAR file after the build does not.
Does anybody know how to make Axis2 offer just HTTP endpoints?
In axis2.xml, comment out the https transport receiver to disable the HTTPS endpoint.