Skip to content

Commit 1398a9f

Browse files
authored
Update 2024-04-17-expect-the-unexpected.md
1 parent b49305a commit 1398a9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2024-04-17-expect-the-unexpected.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Friends, your author gets perplexed more easily than you might suspect. When a
88

99
Inside this mental box, I couldn't believe these client calls were even making it to my server. What's a hang? It's the network, of course. It's always the network, when things are hanging. Right?
1010

11-
After careful research (okay fine, after a conversation with chatGPT and various AIs) I arrived at the following effective `tcpdump` command with human readable output, and I was able to see...
11+
After careful research (okay fine, after a conversation with chatGPT and various AIs) I arrived at the following effective *tcpdump* command with human readable output, and I was able to see...
1212

1313
```
1414
sudo tcpdump -i [network interface] -n -t -vv -X -A src [IP address]
@@ -26,7 +26,7 @@ I wasn't familiar with this. Developer.mozilla.org says:
2626

2727
>The HTTP 100 Continue informational status response code indicates that everything so far is OK and that the client should continue with the request or ignore it if it is already finished.
2828
29-
Apparently this has wide browser support and is generally not a nuisance. But as it happens, the Microsoft .NET client (making the calls from our commercial system) behaves in a default manner incompatible with Apache's implementation of the 100-continue message (I'm running httpd 2.4.6). This is all immortalized in [the Stack Overflow question](https://stackoverflow.com/questions/3889574/apache-and-mod-proxy-not-handling-http-100-continue-from-client-http-417) where brave developers before me struggled with and finally slew the dragon by applying the hacky strategy of simply stripping the `Expect: 100-continue` header early enough in the request cycle to allow Apache to ignore it:
29+
Apparently this has wide browser support and is generally not a nuisance. But as it happens, the Microsoft .NET client (making the calls from our commercial system) behaves in a default manner incompatible with Apache's implementation of the 100-continue message (I'm running httpd 2.4.6). This is all immortalized in [the Stack Overflow question](https://stackoverflow.com/questions/3889574/apache-and-mod-proxy-not-handling-http-100-continue-from-client-http-417) where brave developers before me struggled with and finally slew the dragon by applying the hacky strategy of simply stripping the *Expect: 100-continue* header early enough in the request cycle to allow Apache to ignore it:
3030

3131
```
3232
# this was placed in the Apache config file

0 commit comments

Comments
 (0)