This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 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:"))) || |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Iterator; | |
import java.util.Map; | |
import java.util.TreeMap; | |
import javax.net.ssl.SSLServerSocketFactory; | |
/* | |
* Source from Christopher Schultz | |
* @see http://markmail.org/message/zn4namfhypyxum23 | |
*/ | |
public class SSLInfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configurations { | |
compileGwt | |
} | |
jar { | |
from { | |
compileGwt.buildDir | |
} | |
// Exclude GWT client code and resources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# /etc/init.d/tomcat -- startup script for the Tomcat 7 servlet engine | |
# | |
# Modified init-Script from Ubuntu Tomcat init-script | |
# | |
# 2010 - Sebastian Mogilowski - http://www.mogilowski.net/2010/12/11/install-tomcat-7-on-debian-lenny-with-virtual-hosts-and-apache2-integration/ | |
# 2012 - Collin Peters - Added debug option | |
# | |
### BEGIN INIT INFO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thread[http-80-2,5,main] | |
ERROR: AmFilter: a server error occurred. | |
[AgentException Stack] | |
com.sun.identity.agents.arch.AgentServerErrorException: No URL is available at this time | |
at com.sun.identity.agents.common.URLFailoverHelper.getAvailableURL(URLFailoverHelper.java:126) | |
at com.sun.identity.agents.filter.AmFilterRequestContext.getLoginURL(AmFilterRequestContext.java:832) | |
at com.sun.identity.agents.filter.AmFilterRequestContext.getAuthRedirectURL(AmFilterRequestContext.java:291) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"https-catalina-exec-1" - Thread t@179 | |
java.lang.Thread.State: BLOCKED | |
at com.sun.jna.Native.getStructureAlignment(Native.java:498) | |
- waiting to lock <dbf376> (a java.util.WeakHashMap) owned by "https-catalina-exec-31" t@209 | |
at com.sun.jna.Structure.setAlignType(Structure.java:260) | |
at com.sun.jna.Structure.<init>(Structure.java:184) | |
at com.sun.jna.Structure.<init>(Structure.java:180) | |
at com.sun.jna.Structure.<init>(Structure.java:167) | |
at com.sun.jna.Structure.<init>(Structure.java:159) | |
at com.sun.jna.platform.win32.WinNT$PSID.<init>(WinNT.java:333) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean id="infinispan" class="mypackage.MySpringEmbeddedCacheManagerFactoryBean" | |
p:configurationFileLocation="classpath:infinispan-spring.xml" | |
p:clusterName="${cluster.name}" | |
p:transportClass="org.infinispan.remoting.transport.jgroups.JGroupsTransport"> | |
<property name="transportProperties"> | |
<props> | |
<prop key="channelLookup">mypackage.JGroupsChannelLookupImpl</prop> | |
<prop key="lookupConfigurationFile">jgroups.xml</prop> | |
<prop key="jgroups.tcp.bind_addr">${cluster.bind_addr}</prop> | |
<prop key="jgroups.tcp.bind_port">${cluster.bind_port}</prop> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mypackage; | |
import org.apache.commons.lang.StringUtils; | |
import org.infinispan.remoting.transport.jgroups.JGroupsChannelLookup; | |
import org.jgroups.Channel; | |
import org.jgroups.JChannel; | |
import org.jgroups.conf.ConfiguratorFactory; | |
import org.jgroups.conf.ProtocolConfiguration; | |
import org.jgroups.conf.ProtocolStackConfigurator; | |
import org.slf4j.Logger; |
NewerOlder