Questions tagged [proxygen]

A collection of C++ HTTP libraries including an easy to use HTTP server.

11 questions
8
votes
1 answer

Build Proxygen under Ubuntu 16.04

I would like to build Facebook's Proxygen c++ http libraries out of github with Ubuntu 16.04. Here's the environment I set up along with the deps.sh command to install dependencies: gcc --version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.1) 5.4.0…
moodboom
  • 6,225
  • 2
  • 41
  • 45
4
votes
1 answer

Is it more performant to use Proxygen or NGINX + FastCGI local socket with HHVM?

HHVM has a built in Server, Proxygen. You can run HHVM with the Proxygen server or run it in FastCGI mode, using another server such as nginx or apache to handle web requests. I cannot find any benchmarks or authoritative source that provides any…
Ray
  • 40,256
  • 21
  • 101
  • 138
2
votes
1 answer

How ignore any files using HHVM proxygen rewrite rules?

I create a file like this example.ini: hhvm.server.type = proxygen hhvm.server.default_document = index.php hhvm.virtual_host[default][rewrite_rules][common][pattern] = "(.*)" hhvm.virtual_host[default][rewrite_rules][common][to] =…
Protomen
  • 9,471
  • 9
  • 57
  • 124
2
votes
0 answers

Does HHVM Proxygen support the HTTP Patch method?

Our application runs on a hhvm/proxygen docker container. When we try to use the http patch method we always get a "Bad Request 400" response. Do I need a special configuration to use patch on hhvm/proxygen? The php application is based on Lumen…
dschniepp
  • 1,083
  • 12
  • 19
1
vote
3 answers

Running HHVM in Alpine linux

I've been trying to install HHVM (Hack) on Alpine linux to no success. Has anyone compiled HHVM on linux? Any help would be welcome.
1
vote
0 answers

Proxygen http client using a connection pool (keep-alive)

I am writing a proxygen server that needs to make http request to other service. I would like to have a connection pool to this other service (using keep-alive), and whenever I need to make a request to this service, I would like to peak one of…
0
votes
2 answers

Error calling jni4net on a webService, URI scheme is not "file"

I'm using jni4net, I'm reading a .NET dll in a java application, and it works when I run direct on the main method. Below is an example: public static void main( String[] args ) throws IOException { Bridge.setVerbose(true); …
Ronald Calazans
  • 71
  • 1
  • 11
0
votes
1 answer

Linking Facebook Proxygen with Cmake

Facebook's wangle library can be set up with cmake like below: set_and_check(WANGLE_INCLUDE_DIR /usr/local/include/wangle) set_and_check(WANGLE_CMAKE_DIR /usr/local/lib/cmake/wangle) if (NOT TARGET wangle::wangle) …
codepro
  • 283
  • 3
  • 8
0
votes
0 answers

proxygen folly inconsistent types ‘int’ and ‘bool’ deduced for lambda return type

While creating a web server using proxygen, I included proxygen::HTTPServer in another subdirectory, and I get an error. But I included the same library in another directory, but I can not get an error. In file included from…
0
votes
0 answers

how to get body of an http GET request

I am using proxygen and need to get the body of a HTTP "GET" request. I have to use the curlclient provided in the sample httpclient. Now, I have to use the present api of the library. But the curlclient is based on 2 classes: HTTPConnector and…
daenerys
  • 63
  • 1
  • 6
0
votes
0 answers

ProxyGen doesn't generate "build.cmd" file

I'm trying to get Jasper Reports working from my app in VB.Net. So, after considering many options, I decided to create a small program in java to launch it, and reference it in my .Net project, using JNI4NET. I don't know if I'm doing something…
xecollons
  • 536
  • 6
  • 22