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
$ mcs mono-close-wait-repro.cs | |
$ mono mono-close-wait-repro.exe | |
Starting test | |
Requesting: http://httpbin.org/delay/2 | |
Failed without Response: The operation has timed out. | |
Requesting: http://httpbin.org/delay/2 | |
Failed without Response: The operation has timed out. | |
Requesting: http://httpbin.org/delay/2 | |
Failed without Response: The operation has timed out. | |
Requesting: http://httpbin.org/delay/2 |
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
#!/usr/bash | |
# Change ths url and api key. | |
serverUrl="http://localhost:8989" | |
apiKey=11b362365b7644 | |
/usr/bin/curl -i -H "Accept: application/json" -H "Content-Type: application/json" -H "X-Api-Key: $apiKey" -X POST -d '{"name":"Housekeeping"}' $serverUrl/api/command |
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
<caps> | |
<server version="1.0" title="{{ config.SITE_NAME }}" strapline="..." url="{{ url_for('home', _external=True) }}" image="..." /> | |
<limits max="60" default="25" /> | |
<registration available="no" open="no" /> | |
<searching> | |
<search available="yes" supportedParams="q" /> | |
<tv-search available="no" /> | |
<movie-search available="no" /> | |
<audio-search available="no" /> |
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
using System; | |
using System.IO; | |
public class Program | |
{ | |
public static int Main(params string[] args) | |
{ | |
try | |
{ | |
if (args.Length != 3) |