Skip to content

Instantly share code, notes, and snippets.

View MikeN123's full-sized avatar

Mike Noordermeer MikeN123

  • Netherlands
  • 10:36 (UTC +02:00)
View GitHub Profile
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2"
keystoreFile="conf/keystore.jks" keystorePass="changeit" useServerCipherSuitesOrder="true"
ciphers="TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,
TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,TLS_DHE_RSA_WITH_AES_256_CBC_SHA,
TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_CBC_SHA256,
TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA,
/*
* Eveoh MyTimetable, Web interface for timetables.
*
* Copyright (c) 2010 - 2016 Eveoh
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
configurations {
compileGwt
}
jar {
from {
compileGwt.buildDir
}
// Exclude GWT client code and resources
import com.google.common.util.concurrent.Striped;
import org.infinispan.commons.api.BasicCache;
import org.infinispan.spring.provider.SpringCache;
import java.util.concurrent.Callable;
import java.util.concurrent.locks.Lock;
/**
* @see {@link LockingSpringEmbeddedCacheManager}
*/
--- zabbix-5.0.1.orig/src/zabbix_server/poller/checks_http.c
+++ zabbix-5.0.1/src/zabbix_server/poller/checks_http.c
@@ -168,8 +168,10 @@ static void http_output_json(unsigned ch
while (NULL != (line = zbx_http_get_header(&headers)))
{
- if (0 == json_content && 0 == strncmp(line, "Content-Type:",
- ZBX_CONST_STRLEN("Content-Type:")) &&
+ if (0 == json_content && ((0 == strncmp(line, "Content-Type:",
+ ZBX_CONST_STRLEN("Content-Type:"))) ||