mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Merge HTTP request / response parsing code
This change also fixes a bug so that DNS lookups work correctly when the first answer is a CNAME record.
This commit is contained in:
parent
5a6c0f27c3
commit
a68cc690ff
20 changed files with 561 additions and 616 deletions
|
@ -76,6 +76,7 @@ void lookup(const char *name) {
|
|||
int main(int argc, char *argv[]) {
|
||||
int i;
|
||||
showcrashreports();
|
||||
for (i = 1; i < argc; ++i) lookup(argv[i]);
|
||||
lookup("time-a.timefreq.bldrdoc.gov");
|
||||
/* for (i = 1; i < argc; ++i) lookup(argv[i]); */
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue