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

Error while building apache2 2.4.3 with mod_authnz_ldap and apr/apr-util

I'm currently trying to generate a RPM package of a patched apache2 2.4.3 I modified the httpd.spec provided with the archive, to use the SVN version of APR (version 1.4 is not provided by CentOS) : %build # forcibly prevent use of bundled apr,…
linkdd
  • 1,015
  • 1
  • 10
  • 24
1
vote
1 answer

Does apr_table_get return a copy of the data?

If I call apr_table_get, do I get a copy of the data or just a pointer into the pool with the data? (I want to change the value somehow and don't know if I would be crushing the pool data.) Also, do I need to free the data. The man page (Table…
No One in Particular
  • 2,846
  • 4
  • 27
  • 32
0
votes
1 answer

Tomcat 6 installation

Just installing Tomcat 6. There is an installation option named "native" that can be selected (description of this is "Install APR base Tomcat native.dll for better performance and scalability in production environments"). Just wondering does it…
user1153199
  • 131
  • 7
0
votes
1 answer

Tomcat APR based Apache Tomcat Native Library error

I am trying to setup a maven based project in SpringSource tool suite. I imported the project and maven imported all the dependencies. I configured tomcat following the guidelines given in here. The project built with no errors. but when I tried to…
Paba
  • 1,105
  • 3
  • 19
  • 34
0
votes
1 answer

mod_perl (without the perl) alternative apache API scriptable modules

I recently looked at a project called lemonldap-ng - which is a nice little portal front end to configurable authentication backend, and it uses LDAP and perl. It was close to what I am looking to develop/implement, which is a (very simple) portal…
Tom
  • 3,324
  • 1
  • 31
  • 42
0
votes
1 answer

building apr-util 64 bit Mac OS X builds 32-bit version

I am currently building a 32/64 bit version of apr by configuring and building twice and combining the output with lipo, (apr-1.4.5) I am trying to accomplish the same thing with the 64-bit version with apr-util-1.4.1, but all of my output seems to…
Grady Player
  • 14,399
  • 2
  • 48
  • 76
0
votes
1 answer

Tomcat dropping connections during transfer using sendfile and APR Connector

I'm using Tomcat 7 (7.0.25) running on Oracle Java 1.6.0_30. I have libtcnative-1 installed and use the APR Connector (org.apache.coyote.http11.Http11AprProtocol). I try to serve static files using sendfile (but it doesn't matter because this is…
0
votes
7 answers

configure: error: APR-util version 1.2.0 or later is required

I find the following error when I installed httpd-2.2.21: checking for APR-util version 1.2.0 or later... no configure: error: APR-util version 1.2.0 or later is required I've installed apr-1.4.5, apr-util-1.3.12. then i do…
Tallmad
  • 1,951
  • 4
  • 22
  • 29
0
votes
0 answers

libapr compilation fails when compiled through the Dockerfile, but works in an interactive session, why?

I'm trying to modify a dockcross image to include the Apache Portable Runtime lib inside of the Docker image for a riscv64 linux dockcross image. Here's the relevant command I've appended to the end of the Dockerfile: RUN cd /tmp && \ wget…
Plomyk
  • 1
0
votes
1 answer

display contents of apr tables in lua

Im trying to display the contents of an apr.table. Currently, I have a line of code which prints out 'headers_in' of a request object: log_file:write("headers_in: ",tostring(r.headers_in),"\n") This returns: headers_in: Apr.Table:…
codinator
  • 1
  • 4
0
votes
2 answers

What's the difference between APR (Apache Portable Runtime) 1.3 and 0.9?

I'm just getting started with APR and it seems that there are two supported versions developed side-by-side: http://apr.apache.org/ The docs don't explain the difference between 1.3.x and 0.9.x... Can anyone please shed light on the matter? Or in…
Assaf Lavie
  • 73,079
  • 34
  • 148
  • 203
0
votes
0 answers

Unexpected error [32] writing data to the APR/native socket

Just upgraded java springboot project to: springboot 2.6.6 tomcat 9 jdk11 war some pointers: I dont use websockets in my project I dont write any files to my server started getting this…
0
votes
1 answer

Building Apache log4cxx with CMake

I am trying build Apache log4cxx 0.13.0 for mingw in windows platform I builder and installed apr and apr-util using MSYS2 I downloaded log4cxx source from apache repository but when configuring with CMake it shows this error: CMake Error at…
0
votes
1 answer

How should I go about DB Conn persisting in Apache when mod_dbd doesnt support my driver?

I am working with the ODBTP interface to SQL Server from a Linux Apache 2.x host. mod_dbm does not support this and I require being able to move the code to any host that supports Apache. A note on my environment: I am using the Apache 2.2.17, C++…
Alex
  • 1
  • 1
0
votes
1 answer

TLS resumption in Tomcat Server

I want to establish tls resumption in my tomcat server, I'm using AprProtocol implementation in tomcat for tls, went through tomcat documentation but didn't find any suitable config. Current tomcat version : 8.5 Is there any way to do that via…