-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Http listener on non iIs #785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You mean without http.sys port and path sharing on windows? Don't need iis for httplistener. |
sure. without a separated ability to manage things it makes no sense. id be interested in seeing what unusual behaviors come out in windows out of this as well btw. |
@Tratcher any thoughts on this? |
Yes, there were issues trying to adapt Windows concepts for HttpListener over to Mono. HttpListener is being replaced by WebListener on Windows or Kestrel on cross-plat. Here's how we expect the bindings to work on Kestrel (soon) aspnet/KestrelHttpServer#98 (comment) IIS, HttpListener, and WebListener all build on the native Windows Http.Sys library and it controls the prefix logic. |
So leave everyone behind and have a new Api? On Friday, July 31, 2015, Chris R [email protected] wrote:
Studying for the Turing test |
This issue is being closed because it has not been updated in 3 months. We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate. |
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
[email protected]
Domain spinthemoose.com has exceeded the max emails per hour (248/200 (124%)) allowed. Message will be reattempted later
…------- This is a copy of the message, including all the headers. ------
Received: from o7.sgmail.github.com ([167.89.101.198]:45544)
by cp1164.blacksun.ca with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
(Exim 4.89_1)
(envelope-from <[email protected]>)
id 1eVkIb-0001Uk-0J
for [email protected]; Sun, 31 Dec 2017 14:33:37 -0600
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com;
h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe;
s=s20150108; bh=A94/YX4ElbWLqOUPKHoJplo4Axo=; b=WQlVEpghanyK0LRU
IbGUOKlTozL2ABl1JacwXbA7oXR4iJCSuUK6uqR6enBoaowoCkNj+8cvU44dnX8o
n0RGH3hgaA8s/DHW0zOWhxi1OZD3Mdepcw+02aylZaeZkl5xhpyXYvACK1+du7pP
OqhCJYDIkdbaRabcrvGudnSb4u4=
Received: by filter1259p1mdw1.sendgrid.net with SMTP id filter1259p1mdw1-21768-5A49498C-10
2017-12-31 20:33:16.418531952 +0000 UTC
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2b-ext-cp1-prd.iad.github.net [192.30.253.17])
by ismtpd0010p1iad2.sendgrid.net (SG) with ESMTP id V2thv_AxQqWs6i65_5LnEA
for <[email protected]>; Sun, 31 Dec 2017 20:33:16.475 +0000 (UTC)
Date: Sun, 31 Dec 2017 20:33:16 +0000 (UTC)
From: "ASP.NET Hello Bot" <[email protected]>
Reply-To: aspnet/Home <[email protected]>
To: aspnet/Home <[email protected]>
Cc: Subscribed <[email protected]>
Message-ID: <aspnet/Home/issue/785/issue_event/[email protected]>
In-Reply-To: <aspnet/Home/issues/[email protected]>
References: <aspnet/Home/issues/[email protected]>
Subject: Re: [aspnet/Home] Http listener on non iIs (#785)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5a49498c46433_7dae3fa0ff61ef381115273";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: aspnet-hello
X-GitHub-Recipient: davidalpert
X-GitHub-Reason: subscribed
List-ID: aspnet/Home <Home.aspnet.github.com>
List-Archive: https://github.com/aspnet/Home
List-Post: <mailto:[email protected]>
List-Unsubscribe: <mailto:unsub+0000a9442dfbfe8d4897b39b8d41bd51709e989b4868fe5192cf0000000116610b8c92a169ce05dc8093@reply.github.com>,
<https://github.com/notifications/unsubscribe/AACpRM5MKsOHLNl8AvWE9XvS1qw68W_Tks5tF--MgaJpZM4FjUDk>
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: [email protected]
X-SG-EID: rlj3t9ahcX0BZUzAOlajQ3VmBXo43xFJc4M1ImIDJhEgQqDyqPuOE1DJsYhF2K+DGMXgfgMNTy5Yn+
CobgwGFooLlTKyxxNFjdeoKsQIgsyIcYYqVzl6XNszTfqgHzV0Bnr4512x48+TmRo443FHbuKKyeul
Dl//5oDXwprr65xurDKHct5fmyQ4yYMHJRJjlgdzyUZseknRsz9qnHlthWCEmSKI3rHxydJS9lfFsb
Q=
----==_mimepart_5a49498c46433_7dae3fa0ff61ef381115273
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #785.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#785 (comment)
----==_mimepart_5a49498c46433_7dae3fa0ff61ef381115273
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
<p>Closed <a href="#785" class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="98336915" data-permission-text="Issue title is private" data-url="#785>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="#785 (comment) it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AACpRB4aWRRfvq3c0RHZPSM09cLRQ9Pyks5tF--MgaJpZM4FjUDk">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AACpRGnxopnH4LGPrFEOsDHHLPFMNb7vks5tF--MgaJpZM4FjUDk.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="#785 (comment)>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/aspnet/Home","title":"aspnet/Home","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/aspnet/Home"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Closed #785."}],"action":{"name":"View Issue","url":"#785 (comment)>
----==_mimepart_5a49498c46433_7dae3fa0ff61ef381115273--
|
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
[email protected]
Domain spinthemoose.com has exceeded the max emails per hour (249/200 (124%)) allowed. Message will be reattempted later
…------- This is a copy of the message, including all the headers. ------
Received: from o3.sgmail.github.com ([192.254.112.98]:39517)
by cp1164.blacksun.ca with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
(Exim 4.89_1)
(envelope-from <[email protected]>)
id 1eVkIb-0001Uj-3F
for [email protected]; Sun, 31 Dec 2017 14:33:37 -0600
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com;
h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe;
s=s20150108; bh=F/yTWj2E4w2QEoz2fHNG1UMSByQ=; b=qISpp9rTXvTKS/cp
HP+/In8hVQOoj/Uksdu5NJz61rFFHU4j5p6vmbHdrNmLF/fVYh3rzfL0egy19jIU
0k1hUyKBKVPU24+zijX4R+ve+Xnw4h/A1oKHMkl55VnYDnoF9jXVZktINcEKDjW8
mzDjiQPOakjHvZDPY+mICtd1wkk=
Received: by filter0113p1las1.sendgrid.net with SMTP id filter0113p1las1-27970-5A49498B-30
2017-12-31 20:33:15.957719003 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16])
by ismtpd0003p1iad1.sendgrid.net (SG) with ESMTP id 2iQ9oS2FQlCyb4CB--2ezA
for <[email protected]>; Sun, 31 Dec 2017 20:33:15.870 +0000 (UTC)
Date: Sun, 31 Dec 2017 20:33:15 +0000 (UTC)
From: "ASP.NET Hello Bot" <[email protected]>
Reply-To: aspnet/Home <[email protected]>
To: aspnet/Home <[email protected]>
Cc: Subscribed <[email protected]>
Message-ID: <aspnet/Home/issues/785/[email protected]>
In-Reply-To: <aspnet/Home/issues/[email protected]>
References: <aspnet/Home/issues/[email protected]>
Subject: Re: [aspnet/Home] Http listener on non iIs (#785)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5a49498bbebba_196043fa9fc52cf3418352cc";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: aspnet-hello
X-GitHub-Recipient: davidalpert
X-GitHub-Reason: subscribed
List-ID: aspnet/Home <Home.aspnet.github.com>
List-Archive: https://github.com/aspnet/Home
List-Post: <mailto:[email protected]>
List-Unsubscribe: <mailto:unsub+0000a944c4eb8e3a928bfd9aeb42c7c31d8294d78de14d8c92cf0000000116610b8b92a169ce05dc8093@reply.github.com>,
<https://github.com/notifications/unsubscribe/AACpRL2brteYNE1EHrVyp9gIOoqkxyMOks5tF--LgaJpZM4FjUDk>
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: [email protected]
X-SG-EID: rlj3t9ahcX0BZUzAOlajQ3VmBXo43xFJc4M1ImIDJhFG4Onee+MKFmxYnMR+ik3+SJ/UevEqA/FfJh
EMAQB1/MqdEDwvayW9TQBN7JiHUdoTQuqMF5J9M+lCgLfpp1K16a4xR8ZzY5QeUWJEFY1N+1XkwD55
fuZ1Pt5fClCsYwssXs8QotT5M9VH83IEWRHu7hYzer6C0lZmEeKfsXz+9YG2Lpsa9sOu/ZM1HJMxzQ
k=
----==_mimepart_5a49498bbebba_196043fa9fc52cf3418352cc
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#785 (comment)
----==_mimepart_5a49498bbebba_196043fa9fc52cf3418352cc
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<p>This issue is being closed because it has not been updated in 3 months.<=
/p>
<p>We apologize if this causes any inconvenience. We ask that if you are st=
ill encountering this issue, please log a new issue with updated informatio=
n and we will investigate.</p>
<p style=3D"font-size:small;-webkit-text-size-adjust:none;color:#666;">&mda=
sh;<br />You are receiving this because you are subscribed to this thread.<=
br />Reply to this email directly, <a href=3D"https://github.com/aspnet/Hom=
e/issues/785#issuecomment-354622671">view it on GitHub</a>, or <a href=3D"h=
ttps://github.com/notifications/unsubscribe-auth/AACpRNtK_vcQVYHaZZK1OEEeF1=
rEzr2Pks5tF--LgaJpZM4FjUDk">mute the thread</a>.<img alt=3D"" height=3D"1" =
src=3D"https://github.com/notifications/beacon/AACpRCCF4eqiqrvzsrbFry210u4-=
PTLkks5tF--LgaJpZM4FjUDk.gif" width=3D"1" /></p>
<div itemscope itemtype=3D"http://schema.org/EmailMessage">
<div itemprop=3D"action" itemscope itemtype=3D"http://schema.org/ViewAction=
">
<link itemprop=3D"url" href=3D"#785
issuecomment-354622671"></link>
<meta itemprop=3D"name" content=3D"View Issue"></meta>
</div>
<meta itemprop=3D"description" content=3D"View this Issue on GitHub"></meta>
</div>
<script type=3D"application/json" data-scope=3D"inboxmarkup">{"api_version"=
:"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"Gi=
tHub"},"entity":{"external_key":"github/aspnet/Home","title":"aspnet/Home",=
"subtitle":"GitHub repository","main_image_url":"https://cloud.githubuserco=
ntent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png",=
"avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842=
166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in Git=
Hub","url":"https://github.com/aspnet/Home"}},"updates":{"snippets":[{"icon=
":"PERSON","message":"@aspnet-hello in #785: This issue is being closed bec=
ause it has not been updated in 3 months.\r\n\r\nWe apologize if this cause=
s any inconvenience. We ask that if you are still encountering this issue, =
please log a new issue with updated information and we will investigate.\r\=
n"}],"action":{"name":"View Issue","url":"https://github.com/aspnet/Home/is=
sues/785#issuecomment-354622671"}}}</script>=
----==_mimepart_5a49498bbebba_196043fa9fc52cf3418352cc--
|
- Addresses "SqlClient fails with netcoreapp2.0 on Win7/Server2008" (https://github.com/dotnet/corefx/issues/18406) - Revert if and when $(CoreFxVersion) is upgraded to 4.4.0-*
this can be seen in mono today.
The http listener interface doesn't make much sense without iis. Currently the way you bind to a port is to pass a http prefix eg http://*:4444 this is used for two purposes. The first is to setup accept parameters it will bad host not matching requests this is also used to determine the port to bind to though!
Where this causes problems is in places like aws where I need to accept an elastic ip say 24.112.72.53 but bind locally on 10.114.56.74. As of now the httplistener code in mono does the only "reasonable" thing here and binds all.
There are quite a few other little things like this around this api. What are the plans if any for supporting http listener cross platform and is this a time this interface could be fixed? I would like to fix monos but prefer to keep api compatibility as opposed to mono specific ways of doing things.
Greg
The text was updated successfully, but these errors were encountered: