mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 04:10:24 +00:00
Commit graph
Select branches
Hide pull requests
1.0.x
1.1.x
active_n
http3
improve-dynamic_buffer
master
#1
#100
#100
#1001
#1001
#1006
#1006
#1007
#1007
#1008
#101
#101
#1016
#1016
#1020
#1020
#1022
#1030
#1030
#1043
#1048
#1048
#105
#105
#1050
#1050
#1052
#1052
#1053
#1053
#1059
#106
#106
#1061
#1061
#1064
#1064
#1066
#1066
#1067
#1067
#1068
#1068
#1070
#1070
#1072
#1076
#1076
#1080
#1080
#1081
#1081
#1089
#1089
#109
#109
#110
#110
#112
#112
#1120
#1120
#113
#113
#1131
#1131
#114
#114
#1141
#1141
#1142
#1142
#1150
#1150
#1154
#1154
#1155
#1155
#1159
#1159
#116
#116
#1163
#1163
#1165
#1165
#1167
#1167
#117
#117
#1173
#1173
#118
#118
#1186
#1186
#1187
#1187
#1190
#12
#12
#1207
#1207
#1208
#1208
#122
#122
#123
#123
#1232
#1232
#124
#124
#1253
#1254
#1256
#1256
#1264
#1266
#1268
#1268
#1273
#1273
#1275
#1275
#1282
#1282
#1287
#1287
#129
#129
#1291
#1291
#1296
#130
#130
#1304
#1304
#1307
#1307
#1308
#1308
#1311
#1311
#1315
#1315
#1320
#1320
#1323
#1323
#1325
#1325
#1331
#1335
#134
#134
#1342
#1349
#1351
#1353
#1361
#1364
#1368
#1370
#1372
#1377
#1382
#1392
#1393
#1399
#1400
#1402
#142
#142
#1422
#1428
#1429
#1432
#1434
#144
#144
#1449
#145
#145
#146
#146
#1461
#1463
#1464
#147
#147
#1471
#1477
#148
#148
#1480
#1482
#1482
#1485
#1494
#150
#150
#1503
#1504
#151
#151
#1510
#1514
#1522
#153
#153
#1536
#154
#154
#1541
#1545
#1550
#1559
#1559
#1564
#1568
#1569
#1572
#1575
#1577
#1583
#1585
#1585
#1588
#1588
#1590
#1599
#1601
#1602
#1604
#1605
#1606
#1608
#1609
#1614
#1617
#1621
#1624
#1625
#1628
#1629
#1633
#1634
#1641
#1646
#1648
#1655
#1656
#1657
#1658
#1660
#1661
#1663
#1665
#1666
#1667
#1668
#1669
#1676
#1676
#1681
#171
#171
#173
#173
#174
#174
#175
#175
#177
#177
#178
#178
#181
#181
#185
#185
#190
#190
#197
#197
#199
#199
#2
#200
#200
#201
#201
#204
#204
#205
#205
#206
#206
#207
#207
#209
#209
#21
#21
#211
#211
#212
#212
#214
#214
#215
#215
#216
#216
#217
#217
#218
#218
#219
#219
#221
#221
#229
#229
#233
#233
#234
#234
#235
#235
#237
#237
#243
#243
#244
#244
#247
#247
#248
#248
#25
#25
#254
#254
#255
#255
#257
#257
#262
#262
#265
#265
#268
#269
#269
#27
#27
#271
#271
#272
#272
#273
#273
#274
#274
#280
#280
#282
#282
#288
#288
#289
#289
#29
#29
#292
#292
#294
#296
#296
#297
#297
#299
#299
#30
#301
#301
#305
#305
#315
#315
#316
#316
#319
#319
#32
#322
#322
#323
#330
#330
#334
#334
#335
#335
#338
#338
#339
#339
#343
#343
#344
#344
#348
#348
#35
#35
#353
#353
#359
#359
#364
#364
#369
#369
#37
#37
#372
#372
#373
#373
#378
#378
#379
#379
#380
#380
#381
#381
#382
#382
#383
#383
#385
#385
#386
#386
#388
#388
#393
#393
#395
#395
#396
#396
#4
#4
#40
#405
#405
#406
#406
#407
#407
#409
#409
#410
#410
#412
#412
#415
#415
#416
#416
#418
#418
#419
#419
#42
#42
#420
#420
#421
#421
#422
#422
#423
#423
#425
#425
#426
#426
#429
#429
#43
#43
#430
#430
#432
#432
#433
#433
#434
#434
#435
#435
#436
#436
#437
#437
#438
#438
#439
#439
#44
#44
#440
#440
#443
#443
#444
#444
#452
#452
#453
#453
#455
#455
#456
#456
#458
#458
#46
#46
#461
#461
#462
#462
#463
#463
#464
#464
#465
#465
#468
#468
#469
#469
#471
#471
#477
#477
#48
#48
#482
#482
#484
#484
#487
#487
#489
#489
#490
#490
#493
#493
#494
#494
#495
#495
#496
#496
#5
#5
#501
#501
#504
#504
#506
#508
#508
#509
#509
#51
#51
#512
#512
#513
#513
#514
#514
#515
#515
#518
#518
#52
#52
#522
#522
#529
#529
#530
#530
#532
#532
#533
#533
#535
#535
#536
#536
#537
#537
#538
#538
#54
#54
#548
#548
#549
#549
#552
#552
#554
#554
#556
#556
#559
#559
#56
#56
#561
#561
#562
#562
#564
#564
#568
#568
#57
#57
#571
#571
#572
#572
#574
#574
#575
#575
#576
#576
#578
#578
#58
#58
#581
#581
#582
#582
#584
#584
#590
#590
#596
#6
#6
#60
#60
#602
#602
#605
#605
#606
#606
#607
#607
#614
#614
#616
#616
#617
#617
#619
#619
#623
#623
#625
#625
#627
#627
#629
#629
#630
#630
#631
#631
#633
#633
#636
#636
#637
#637
#639
#639
#640
#640
#642
#642
#643
#643
#648
#648
#649
#649
#65
#65
#652
#652
#653
#653
#657
#657
#662
#662
#663
#663
#664
#665
#665
#668
#668
#67
#67
#670
#670
#672
#672
#673
#673
#675
#675
#681
#681
#682
#694
#694
#695
#696
#696
#7
#7
#706
#706
#709
#709
#710
#710
#713
#713
#717
#72
#72
#720
#720
#726
#733
#735
#743
#743
#748
#750
#750
#752
#754
#754
#761
#761
#766
#769
#773
#773
#775
#775
#776
#776
#78
#78
#780
#782
#783
#785
#789
#789
#79
#79
#792
#792
#797
#797
#799
#799
#8
#8
#80
#80
#805
#808
#818
#823
#823
#828
#83
#83
#830
#830
#832
#832
#844
#845
#85
#85
#850
#86
#86
#862
#862
#863
#863
#865
#865
#869
#869
#88
#88
#885
#886
#886
#888
#888
#89
#89
#898
#899
#899
#9
#9
#901
#901
#907
#909
#909
#91
#91
#911
#911
#912
#912
#919
#919
#924
#925
#925
#928
#928
#932
#935
#935
#938
#938
#941
#945
#949
#949
#95
#95
#953
#953
#954
#954
#97
#97
#99
#99
#991
#992
#992
#995
#997
#998
#999
#999
0.10.0
0.2.0
0.4.0
0.6.0
0.6.1
0.8.0
0.8.1
0.8.2
0.8.3
0.8.4
0.8.5
0.8.6
0.9.0
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.1.0
1.1.1
1.1.2
2.0.0
2.0.0-pre.1
2.0.0-pre.10
2.0.0-pre.2
2.0.0-pre.3
2.0.0-pre.4
2.0.0-pre.5
2.0.0-pre.6
2.0.0-pre.7
2.0.0-pre.8
2.0.0-pre.9
2.0.0-rc.1
2.0.0-rc.2
2.0.0-rc.3
2.0.0-rc.4
2.1.0
2.10.0
2.11.0
2.12.0
2.13.0
2.2.0
2.2.1
2.2.2
2.3.0
2.4.0
2.5.0
2.6.0
2.6.1
2.6.2
2.6.3
2.7.0
2.8.0
2.9.0
-
c3a36246b5
Explicitly ignore the return value of cowboy_http_req:reply in error_response.
Loïc Hoguin
2011-03-22 12:27:34 +01:00 -
d4c071c2d0
Fix the type spec for path_tokens, a list of *non empty* strings.
Loïc Hoguin
2011-03-22 12:26:07 +01:00 -
06ff8607ed
Add more dialyzer warnings to rebar.config.
Loïc Hoguin
2011-03-22 12:25:43 +01:00 -
3b6f3004a6
Add a rebar.config file with useful options.
Loïc Hoguin
2011-03-21 23:36:51 +01:00 -
1ebfa5eb1f
Fix spec for cowboy_tcp_transport:close/1.
Loïc Hoguin
2011-03-21 22:57:07 +01:00 -
545116edfa
Fix spec for cowboy_http_req:reply/4.
Loïc Hoguin
2011-03-21 22:47:37 +01:00 -
fdd9d4c0ef
Fix spec for cowboy_http_req:qs_vals/1.
Loïc Hoguin
2011-03-21 22:33:42 +01:00 -
0c0b75f76b
Fix spec for the #http_spec.path record field.
Loïc Hoguin
2011-03-21 22:32:02 +01:00 -
c366343ac6
Fix spec for cowboy_http_protocol:init/3.
Loïc Hoguin
2011-03-21 22:22:30 +01:00 -
0b13835bfe
Fix tests for cowboy_dispatcher:split_path/1.
Loïc Hoguin
2011-03-21 22:18:24 +01:00 -
8e55c2e2b8
Fix spec for cowboy_dispatcher:split_path/1.
Loïc Hoguin
2011-03-21 22:13:35 +01:00 -
193968d53e
Fix spec for cowboy_dispatcher:split_host/1.
Loïc Hoguin
2011-03-21 22:12:23 +01:00 -
7cacb88fec
Introduce cowboy_http_req:body/1 to read the full request body.
Loïc Hoguin
2011-03-21 21:28:24 +01:00 -
e9781e77f1
Make sure error_response always returns ok.
Loïc Hoguin
2011-03-21 17:52:27 +01:00 -
e3dc9b2694
Add specs to ensure_response and change the clauses order.
Loïc Hoguin
2011-03-21 17:51:21 +01:00 -
8b02992e6a
Skip the request body if it hasn't been read by the handler.
Loïc Hoguin
2011-03-21 17:26:00 +01:00 -
e40001a884
Ensure a response is sent when the handler doesn't reply anything.
Loïc Hoguin
2011-03-20 19:38:45 +01:00 -
a1e56a2fba
Move the error response code into a separate function.
Loïc Hoguin
2011-03-20 19:29:32 +01:00 -
71b31cee92
Make sure we can only reply to an HTTP request inside Handler:handle.
Loïc Hoguin
2011-03-20 18:03:11 +01:00 -
d69d0adfa7
Lazy-retrieve the peer name and port to avoid wasting time each request.
Loïc Hoguin
2011-03-20 16:09:05 +01:00 -
f5e7178651
Change a @todo for Handler:init possible return values.
Loïc Hoguin
2011-03-20 15:30:29 +01:00 -
a3fff2f5b0
Rename a variable in cowboy_http_protocol for clarity.
Loïc Hoguin
2011-03-20 15:10:58 +01:00 -
df35916d2a
Allow code reloading inside the cowboy_http_protocol module during keep-alive.
Loïc Hoguin
2011-03-20 14:24:43 +01:00 -
c4d4b6a051
Rename the title for Getting Started in the README.
Loïc Hoguin
2011-03-20 14:15:58 +01:00 -
6fad3f7824
Default the connection to keep-alive on HTTP/1.1 and close on 1.0.
Loïc Hoguin
2011-03-20 00:09:15 +01:00 -
896b854908
Remove a dead code clause for split_path.
Loïc Hoguin
2011-03-20 00:03:02 +01:00 -
b874b28561
Save the raw path string in the request.
Loïc Hoguin
2011-03-20 00:01:29 +01:00 -
8085529f48
Save the raw host string in the request.
Loïc Hoguin
2011-03-19 23:57:23 +01:00 -
bd3a646316
Protect the calls to the handler using catch.
Loïc Hoguin
2011-03-19 19:51:44 +01:00 -
a4f8bb6573
Add support for the '*' path.
Loïc Hoguin
2011-03-19 18:53:59 +01:00 -
2c52a30b0a
Rewrite the dispatcher to take a list of host each having a list of paths.
Loïc Hoguin
2011-03-19 17:42:03 +01:00 -
ebe638165e
Ignore all extra Host values sent in the request.
Loïc Hoguin
2011-03-19 16:49:06 +01:00 -
673c7e2cb5
Reply with error 501 on all non absolute path URIs for now.
Loïc Hoguin
2011-03-19 14:46:45 +01:00 -
7ef67d08fe
Reply with error 400 on all bad Request-Lines received.
Loïc Hoguin
2011-03-19 14:40:39 +01:00 -
c9eb3ce5fc
Ignore empty lines when expecting the Request-Line.
Loïc Hoguin
2011-03-19 14:38:31 +01:00 -
db715a3eb1
Comparisons of host names MUST be case-insensitive.
Loïc Hoguin
2011-03-19 14:16:17 +01:00 -
2131a935e6
Notify the client that we're closing the connection after the error reply.
Loïc Hoguin
2011-03-19 02:21:55 +01:00 -
408f167621
Move the reply function to cowboy_http_req.
Loïc Hoguin
2011-03-18 22:38:26 +01:00 -
c6ad0273a8
Introduce Handler:terminate to cleanup the handler's state.
Loïc Hoguin
2011-03-18 13:47:37 +01:00 -
5e80e4baac
Handler:init/2 should also return the Request in case it changed.
Loïc Hoguin
2011-03-18 01:52:46 +01:00 -
f53235549d
Introduce Handler:init/2 for initializing the handler state.
Loïc Hoguin
2011-03-18 00:15:46 +01:00 -
a77b906b9f
Don't crash on Transport:controlling_process return in the acceptor.
Loïc Hoguin
2011-03-17 22:22:09 +01:00 -
0069e2465d
Remove a superfluous terminate call in error_terminate.
Loïc Hoguin
2011-03-17 22:06:39 +01:00 -
786a05a129
Run the dispatcher as early as possible to quickly dismiss 404 errors.
Loïc Hoguin
2011-03-17 22:02:47 +01:00 -
da72255940
Initial commit.
Loïc Hoguin
2011-03-07 22:59:22 +01:00