Commit 15a9fbe9 authored by Mike Carper's avatar Mike Carper Committed by Michael Carper
Browse files

Issue #3257162 by mikeytown2: https loopback failure

parent 85fa2a71
Loading
Loading
Loading
Loading
+9 −1
Changes for httprl.async.inc: 9 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -90,7 +90,15 @@ function httprl_async_page() {

  // If on 64bit system give php 3 GB of ram.
  if (PHP_INT_SIZE > 4) {
    ini_set('memory_limit', httprl_variable_get('httprl_async_mem_limit', HTTPRL_ASYNC_MEM_LIMIT));
    $current_memory_limit = @ini_get('memory_limit');
    $current_size = parse_size($current_memory_limit);

    $new_memory_limit = httprl_variable_get('httprl_async_mem_limit', HTTPRL_ASYNC_MEM_LIMIT);
    $new_size = parse_size($new_memory_limit);

    if ($new_size > $current_size) {
      @ini_set('memory_limit', $new_memory_limit);
    }
  }

  // Run the function.