Questions tagged [apr]

The Apache Portable Runtime (APR) library provides a variety of services masking the differences between different operating systems with a uniform, platform-neutral interface.

The Apache Portable Runtime (APR) project's stated mission is:

The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations. The primary goal is to provide an API to which software developers may code and be assured of predictable if not identical behaviour regardless of the platform on which their software is built, relieving them of the need to code special-case conditions to work around or take advantage of platform-specific deficiencies or features.

188 questions
1
vote
1 answer

Append array using apr_array_push in D

I am writing a program in the D that uses svn and I came across something I can not figure out how to convert into D syntax. I took a stab at it but it segfaults. Example of what I am trying to accomplish in C: svn_auth_provider_object_t…
Bryan Austin
  • 487
  • 3
  • 13
1
vote
0 answers

How to determine if we are in a child process in apache?

On Windows AP_PARENT_PID environment variable is set for every child process Apache creates. I am looking for similar thing in Linux which can be used to check if the current process is child or parent. P.S. I am using Apache 2.2
1
vote
0 answers

Can I redirect the standard output from a process started with apr_proc_create to an in-memory stream?

I'm using the Apache Portable Runtime function apr_proc_create to start a child process and capture its standard output. I'm currently redirecting the output to a temporary file (much like the APR test case), and then reading the file after the…
Boinst
  • 3,365
  • 2
  • 38
  • 60
1
vote
0 answers

How do I detect that a process failed to start, using apr_procattr_create from the Apache Portable Runtime on Ubuntu Linux?

I'm using the Apache Portable Runtime to start a process via apr_procattr_create. My failing test case is when the called command does not exist on the system. On Windows, apr_proc_create returns a non-success error code if the executable does not…
Boinst
  • 3,365
  • 2
  • 38
  • 60
1
vote
2 answers

Linker errors in a basic Apache module

I am attempting to write a "hello world" module for Apache HTTPD 2.4. I'm receiving some linker errors when building the module, and many Google searches have not revealed a solution. My questions are: How can I resolve the ap_hook_handler linker…
Dylan Klomparens
  • 2,853
  • 7
  • 35
  • 52
1
vote
1 answer

Apache Portable Runtime install tutorial for windows?

I want to make use of Apache Portable Runtime. Does anyone know how to install and configure APR for windows?? Please suggest.
Mr ASquare
  • 391
  • 1
  • 8
  • 22
1
vote
0 answers

Issue getting Client Certificate Authentication working when tomcat uses APR/Openssl

I am trying to use Client Certificate Authentication (Mutual SSL Authentication) with a tomcat server (8.0.23) using APR. This all works fine with a tomcat using regular java based io, but fails during verifying the client signature when using…
1
vote
0 answers

Enable APR(Apache portable Runtime) in jboss 6.2 eap on windows

I just want to enable atmoshpere websocket support in jboss 6.2 eap. so i googled and found this link https://github.com/Atmosphere/atmosphere/wiki/Installing-JBoss-WebSocket-Support As this link suggest, i am trying to enable APR in jboss and i…
thaveethu gce
  • 585
  • 1
  • 9
  • 20
1
vote
0 answers

How does Tomcat APR determine if a file is static/"large"?

The Tomcat docs say "When APR is enabled, the HTTP connector will use sendfile for handling large static files"; how does it determine which files are static or which files are "large"?
dhe
  • 41
  • 6
1
vote
0 answers

Correct way converting times with apr time

Which is the correct way to use the conversion from imploded to exploded times with apr in localtime? I have set up a small example which behaves oddly, so I must be doing something wrong. Suppose we have an apr time stamp 'a' (microseconds from the…
Javier Mr
  • 2,130
  • 4
  • 31
  • 39
1
vote
2 answers

Make is unable to find the functions

I am trying to compile a C program, while linking the APR library. I am getting the following error message: cc -g -Wall -pthread -I/usr/local/apr/include/apr-1 -I/usr/local/apr/include/apr-util-1 -L/usr/local/apr/lib -L .aprutil-1 -L .apr-1 …
Yotam Alon
  • 138
  • 1
  • 11
1
vote
0 answers

An incompatible version 1.1.30 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.32

I'm using AWS with AMI from bitnami: bitnami-tomcatstack-8.0.15-0-dev-linux-ubuntu-14.04.1-x86_64-hvm-ebs (ami-486d5c55) It's packed with ubuntu 14.04.1 and tomcat 8.0.15. And 2 days it was working fine. But one day it just stop working after…
levrun
  • 253
  • 3
  • 9
1
vote
0 answers

TLS Session Tickets and Client Authentication, Tomcat APR

We have a problem with RESTfull service running on Tomcat + APR/native. Server requires client authentication by certificate. The problem appears only if client supports TLS with session tickets (RFC 5077). Here is what happens: when client performs…
HolisticElastic
  • 937
  • 8
  • 17
1
vote
0 answers

TomEE 1.6.0.2 won't start with security enabled

It doesn’t look to me like TomEE+ 1.6.0.2 wiil start with the -security command line option. As a sanity check, I’ve downloaded a clean release and it too fails early in the bootstrap process with the following: INFO: Creating…
Paul
  • 53
  • 1
  • 7
1
vote
1 answer

What is apr_pool?

Whis is apr_pool in the Subversion API?
nubela
  • 1
  • 24
  • 75
  • 123