-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebserv2.0.drawio
391 lines (391 loc) · 43.2 KB
/
webserv2.0.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
<mxfile host="app.diagrams.net" modified="2023-03-03T07:01:09.114Z" agent="5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36" etag="Y3l8Pp2d_9A8TFFzfQUr" version="20.8.23" type="github" pages="2">
<diagram name="data_structure" id="0lBOWSRzW262vy09HFQD">
<mxGraphModel dx="758" dy="328" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="mqQwdSMC6Uva1PnvW4H1-1" value="<b>kevent(fd)</b>" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;strokeColor=#FF6026;" parent="1" vertex="1">
<mxGeometry x="440" y="40" width="330" height="210" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-2" value="<font style="font-size: 14px;">- ident : fd<br>- filter : READ, WRITE, VNODE, TIMER<br>- flags :&nbsp;<br>- fflags :&nbsp;<br>- data : READ 일 때, 길이 반환<br>- udata : 사용자 데이터<br></font>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="mqQwdSMC6Uva1PnvW4H1-1" vertex="1">
<mxGeometry y="30" width="330" height="180" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-6" value="<b>class ServerConfig</b>" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="40" y="760" width="330" height="210" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-7" value="<font style="font-size: 14px;">- vector&lt;t_server * &gt; server_list_;<br>- int * server_socket_;<br>- struct sock_addr_in * server_addr_;<br>- int64_t server_number;&nbsp;<br>- int kq;&nbsp;<br></font>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="mqQwdSMC6Uva1PnvW4H1-6" vertex="1">
<mxGeometry y="30" width="330" height="180" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-8" value="<b>typedef struct t_server</b>" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="40" y="520" width="330" height="210" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-9" value="<font style="font-size: 14px;">- std::string port_;<br>- config_map main _config_;<br>- std::map&lt;std::string, t_loc*&gt; location_configs_;<br>- int server_fd_;<br>- e_autoindex index_mode_;<br></font>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="mqQwdSMC6Uva1PnvW4H1-8" vertex="1">
<mxGeometry y="30" width="330" height="180" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-10" value="<b>typedef struct t_loc</b>" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="40" y="280" width="330" height="210" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-11" value="<font style="font-size: 14px;">- std::string location_;<br>- config_map main_cofing_;<br>- e_type loc_type_[3];&nbsp;<br>- e_autoindex index_mode_;<br></font>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="mqQwdSMC6Uva1PnvW4H1-10" vertex="1">
<mxGeometry y="30" width="330" height="180" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-13" value="<h1>typedef - config_map</h1><div>std::map&lt;std::string, std::string&gt;&nbsp; &nbsp;: 키를 가지고 설정 값을 찾아내는 type</div>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;fontSize=14;" parent="1" vertex="1">
<mxGeometry x="40" y="40" width="330" height="90" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-14" value="<h1>typedef - location_list</h1><div>std::map&lt;std::string, t_loc * &gt; : location 리스트 전체를 관리하는 type</div>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;fontSize=14;" parent="1" vertex="1">
<mxGeometry x="40" y="140" width="330" height="90" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-16" value="<b>typedef struct t_html</b>" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="440" y="320" width="330" height="210" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-17" value="<font style="font-size: 14px;">- typedef std::map&lt;std::string, std::string&gt; htrml_line;<br>- html_line init_line_;<br>- html_line header_;<br>- size_t entity_length_;<br>- char* entity;<br></font>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="mqQwdSMC6Uva1PnvW4H1-16" vertex="1">
<mxGeometry y="30" width="330" height="180" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-18" value="<b>class&nbsp; s_base_type</b>" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="880" y="40" width="330" height="90" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-19" value="<font style="font-size: 14px;">- t_s_type type_;<br>- int fd_;<br></font>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="mqQwdSMC6Uva1PnvW4H1-18" vertex="1">
<mxGeometry y="30" width="330" height="60" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-20" value="<b>class s_server_type : public s_base_type</b>" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="880" y="150" width="330" height="70" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-21" value="<font style="font-size: 14px;">- t_server* serlf_config<br></font>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="mqQwdSMC6Uva1PnvW4H1-20" vertex="1">
<mxGeometry y="30" width="330" height="40" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-22" value="<b>class s_client_type : public s_base_type</b>" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="880" y="240" width="330" height="220" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-23" value="<font style="font-size: 14px;">- int cookie_id_; 계정용, 세션용&nbsp;<br>- t_server* config_ptr_;<br>- t_html request_msg_;<br>- t_html response_msg_;<br><br>- s_base_type* parent_ptr_;<br>- s_base_type* data_ptr_;<br><br>- t_stage stage_;<br>- t_error http_status_code_;<br></font>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="mqQwdSMC6Uva1PnvW4H1-22" vertex="1">
<mxGeometry y="30" width="330" height="190" as="geometry" />
</mxCell>
<mxCell id="mqQwdSMC6Uva1PnvW4H1-25" value="모든 getter, config 접근은 해당 datas 파트에서 진행한다.&nbsp;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=14;" parent="1" vertex="1">
<mxGeometry x="870" y="790" width="330" height="60" as="geometry" />
</mxCell>
<mxCell id="vwRwGf5bAn1xfcTuyr_X-1" value="<b>class s_work_type : public s_base_type</b>" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="880" y="480" width="330" height="110" as="geometry" />
</mxCell>
<mxCell id="vwRwGf5bAn1xfcTuyr_X-2" value="<font style="font-size: 14px;">- const std::string uri_;<br>- s_base_type* client_ptr_;<br>- s_chore work_type_;<br></font>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="vwRwGf5bAn1xfcTuyr_X-1" vertex="1">
<mxGeometry y="30" width="330" height="80" as="geometry" />
</mxCell>
<mxCell id="vwRwGf5bAn1xfcTuyr_X-3" value="<h1>typedef - s_event_type : t_event</h1><div>client 의 진행 상황을 기재하기 위한 용도</div>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;fontSize=14;" parent="1" vertex="1">
<mxGeometry x="440" y="560" width="330" height="120" as="geometry" />
</mxCell>
<mxCell id="vwRwGf5bAn1xfcTuyr_X-4" value="<h1>typedef - s_error : t_error</h1><div>client 의 진행 상황에서 처리시 발생한 문제들을 확인하는 용도, 본 값을 통해 에러 상황을 판단하고 검사한다</div>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;fontSize=14;" parent="1" vertex="1">
<mxGeometry x="440" y="690" width="330" height="140" as="geometry" />
</mxCell>
<mxCell id="vwRwGf5bAn1xfcTuyr_X-5" value="<h1>typedef - s_chore : t_chore</h1><div>client 에서 할당한 작업의 종류를 구분하는 용도</div>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;fontSize=14;" parent="1" vertex="1">
<mxGeometry x="440" y="830" width="330" height="130" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="jardHYo4wBIXYE4hR68P" name="total_structure ">
<mxGraphModel dx="2502" dy="674" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="BM-4Kg994bs4guJ47DU_-3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="BM-4Kg994bs4guJ47DU_-1" target="BM-4Kg994bs4guJ47DU_-2" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-1" value="Class<br>ServerConfig" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="260" y="35" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-43" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;shape=flexArrow;" parent="1" source="BM-4Kg994bs4guJ47DU_-2" target="BM-4Kg994bs4guJ47DU_-6" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="160" y="160" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-2" value="ConfigDATAs" style="ellipse;whiteSpace=wrap;html=1;rounded=1;" parent="1" vertex="1">
<mxGeometry x="280" y="120" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="BM-4Kg994bs4guJ47DU_-7" target="BM-4Kg994bs4guJ47DU_-1" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-7" value="File<br>Conf.d" style="shape=internalStorage;whiteSpace=wrap;html=1;backgroundOutline=1;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="1020" y="20" width="130" height="90" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-8" value="/<br>Storage" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="1120" y="130" width="97.5" height="130" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-10" value="" style="swimlane;startSize=0;" parent="1" vertex="1">
<mxGeometry x="100" y="240" width="1000" height="740" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.357;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;shape=link;" parent="BM-4Kg994bs4guJ47DU_-10" source="BM-4Kg994bs4guJ47DU_-21" target="BM-4Kg994bs4guJ47DU_-23" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-39" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeColor=#3D51FF;" parent="BM-4Kg994bs4guJ47DU_-10" source="BM-4Kg994bs4guJ47DU_-21" target="BM-4Kg994bs4guJ47DU_-34" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-40" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeColor=#3D51FF;" parent="BM-4Kg994bs4guJ47DU_-10" source="BM-4Kg994bs4guJ47DU_-21" target="BM-4Kg994bs4guJ47DU_-35" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-41" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;strokeColor=#3D51FF;" parent="BM-4Kg994bs4guJ47DU_-10" source="BM-4Kg994bs4guJ47DU_-21" target="BM-4Kg994bs4guJ47DU_-36" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-88" value="<span style="background-color: rgb(33, 129, 255);">이벤트 요청 처리 시작</span>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontColor=#FFFFFF;" parent="BM-4Kg994bs4guJ47DU_-41" vertex="1" connectable="0">
<mxGeometry x="-0.5375" y="1" relative="1" as="geometry">
<mxPoint x="36" y="11" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-21" value="kevent" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="BM-4Kg994bs4guJ47DU_-10" vertex="1">
<mxGeometry y="130" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-29" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;shape=link;" parent="BM-4Kg994bs4guJ47DU_-10" source="BM-4Kg994bs4guJ47DU_-28" target="BM-4Kg994bs4guJ47DU_-11" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="170" y="395" />
<mxPoint x="170" y="50" />
<mxPoint x="190" y="50" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-30" value="" style="group" parent="BM-4Kg994bs4guJ47DU_-10" vertex="1" connectable="0">
<mxGeometry x="190" y="30" width="430" height="35" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-11" value="Class<br>s_base_type" style="rounded=1;whiteSpace=wrap;html=1;" parent="BM-4Kg994bs4guJ47DU_-30" vertex="1">
<mxGeometry width="90" height="35" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-12" value="Class<br>s_server_type" style="rounded=1;whiteSpace=wrap;html=1;" parent="BM-4Kg994bs4guJ47DU_-30" vertex="1">
<mxGeometry x="120" width="90" height="35" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-16" value="Class<br>s_client_type" style="rounded=1;whiteSpace=wrap;html=1;" parent="BM-4Kg994bs4guJ47DU_-30" vertex="1">
<mxGeometry x="230" width="90" height="35" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-19" value="Class<br>s_work_type" style="rounded=1;whiteSpace=wrap;html=1;" parent="BM-4Kg994bs4guJ47DU_-30" vertex="1">
<mxGeometry x="340" width="90" height="35" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="BM-4Kg994bs4guJ47DU_-30" source="BM-4Kg994bs4guJ47DU_-11" target="BM-4Kg994bs4guJ47DU_-12" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-62" value="Create" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="BM-4Kg994bs4guJ47DU_-13" vertex="1" connectable="0">
<mxGeometry x="0.28" y="3" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="BM-4Kg994bs4guJ47DU_-30" source="BM-4Kg994bs4guJ47DU_-12" target="BM-4Kg994bs4guJ47DU_-16" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="BM-4Kg994bs4guJ47DU_-30" source="BM-4Kg994bs4guJ47DU_-16" target="BM-4Kg994bs4guJ47DU_-19" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-34" value="SERVER<br>- client 생성" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;size=0.05555555555555555;" parent="BM-4Kg994bs4guJ47DU_-10" vertex="1">
<mxGeometry x="300" y="110" width="180" height="60" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-86" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;strokeColor=#FF6F00;" parent="BM-4Kg994bs4guJ47DU_-10" source="BM-4Kg994bs4guJ47DU_-35" target="BM-4Kg994bs4guJ47DU_-64" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="640" y="240" />
<mxPoint x="640" y="495" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-87" value="<font color="#ffffff"><span style="background-color: rgb(207, 59, 54);">Client 요청에 대한 작업 완료</span></font>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="BM-4Kg994bs4guJ47DU_-86" vertex="1" connectable="0">
<mxGeometry x="0.5704" y="2" relative="1" as="geometry">
<mxPoint x="217" y="-19" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-100" style="edgeStyle=elbowEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;strokeColor=#000000;fontColor=#000000;exitX=1;exitY=0.5;exitDx=0;exitDy=0;elbow=vertical;" parent="BM-4Kg994bs4guJ47DU_-10" source="BM-4Kg994bs4guJ47DU_-35" target="BM-4Kg994bs4guJ47DU_-21" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="540" y="430" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-101" value="하나의 작업을 처리하면,<br>kevent 로 회귀하여, 처리를 이어할지,<br>&nbsp;다른 이벤트를 처리할지 상황을 본다." style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontColor=#000000;" parent="BM-4Kg994bs4guJ47DU_-100" vertex="1" connectable="0">
<mxGeometry x="-0.6533" y="1" relative="1" as="geometry">
<mxPoint x="-88" y="8" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-35" value="CLIENT<br><div style=""><span style="background-color: initial;">- READ : client 의 http msg 를 recv</span></div>- WRITE : client 요청 처리한 내용에 대해 send<br>- TIMER : config 에 기준이 되는 timeout 이벤트 발생 -&gt; client 삭제" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;align=left;size=0.029411764705882353;" parent="BM-4Kg994bs4guJ47DU_-10" vertex="1">
<mxGeometry x="300" y="184" width="310" height="76" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-36" value="WORK<br>- file type: file 을 열어서 처리하는 경우<br><span style="white-space: pre;"> </span>GET, POST, DELETE&nbsp;<br>- CGI type: CGI 프로그램을 처리하는 경우<br><span style="white-space: pre;"> </span>GET" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;size=0.03571428571428571;align=left;" parent="BM-4Kg994bs4guJ47DU_-10" vertex="1">
<mxGeometry x="300" y="270" width="310" height="80" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-6" value="Library<br>ServerInit" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fontStyle=1" parent="BM-4Kg994bs4guJ47DU_-10" vertex="1">
<mxGeometry width="120" height="90" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="BM-4Kg994bs4guJ47DU_-10" source="BM-4Kg994bs4guJ47DU_-6" target="BM-4Kg994bs4guJ47DU_-21" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-68" style="edgeStyle=orthogonalEdgeStyle;shape=flexArrow;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="BM-4Kg994bs4guJ47DU_-10" source="BM-4Kg994bs4guJ47DU_-64" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-270" y="230" as="targetPoint" />
<Array as="points">
<mxPoint x="-270" y="450" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-71" value="Send Response MSG" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="BM-4Kg994bs4guJ47DU_-68" vertex="1" connectable="0">
<mxGeometry x="-0.0182" y="-4" relative="1" as="geometry">
<mxPoint x="-158" y="-16" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-73" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="BM-4Kg994bs4guJ47DU_-10" source="BM-4Kg994bs4guJ47DU_-64" target="BM-4Kg994bs4guJ47DU_-72" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="290" y="510" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-105" value="" style="edgeStyle=elbowEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;elbow=vertical;html=1;strokeColor=#000000;fontColor=#000000;" parent="BM-4Kg994bs4guJ47DU_-10" source="BM-4Kg994bs4guJ47DU_-64" target="BM-4Kg994bs4guJ47DU_-104" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-64" value="HTTP Message Composer<br>- create msg<br>- send msg<br>- logging caller" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fillColor=#FFFFFF;" parent="BM-4Kg994bs4guJ47DU_-10" vertex="1">
<mxGeometry x="10" y="440" width="220" height="110" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-72" value="Logger" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#FFFFFF;" parent="BM-4Kg994bs4guJ47DU_-10" vertex="1">
<mxGeometry x="250" y="630" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-75" value="<b>Error Checking</b><br>- 에러 status 확인<br>- 에러 시 에러 페이지로 데이터 수정&nbsp;" style="rhombus;whiteSpace=wrap;html=1;fillColor=#FFFFFF;" parent="BM-4Kg994bs4guJ47DU_-10" vertex="1">
<mxGeometry x="240" y="380" width="220" height="100" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-23" value="struct kevent" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="BM-4Kg994bs4guJ47DU_-10" vertex="1">
<mxGeometry x="10" y="230" width="140" height="180" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-24" value="ident = fd" style="text;strokeColor=none;fillColor=#FFFFFF;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="BM-4Kg994bs4guJ47DU_-23" vertex="1">
<mxGeometry y="30" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-25" value="filter = READ, WRITE..." style="text;strokeColor=none;fillColor=#FFFFFF;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="BM-4Kg994bs4guJ47DU_-23" vertex="1">
<mxGeometry y="60" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-26" value="flag" style="text;strokeColor=none;fillColor=#FFFFFF;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="BM-4Kg994bs4guJ47DU_-23" vertex="1">
<mxGeometry y="90" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-27" value="fflag" style="text;strokeColor=none;fillColor=#FFFFFF;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="BM-4Kg994bs4guJ47DU_-23" vertex="1">
<mxGeometry y="120" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-28" value="udata" style="text;strokeColor=none;fillColor=#FFCC00;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="BM-4Kg994bs4guJ47DU_-23" vertex="1">
<mxGeometry y="150" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-91" value="Response MSG Compose<br>- header 제작<br>쿠키, 세션, 기타 헤더" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fillColor=#FFFFFF;size=0.0625;" parent="BM-4Kg994bs4guJ47DU_-10" vertex="1">
<mxGeometry x="670" y="240" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-94" value="Request MSG<br>- client MSG 파싱<br>- client uri, header 해석<br>- client MSG 유효성 검사<br>(HTTP ver, uri 검사, 메소드, header 규약 지킴 여부 )" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fillColor=#FFFFFF;size=0.0625;" parent="BM-4Kg994bs4guJ47DU_-10" vertex="1">
<mxGeometry x="670" y="129" width="160" height="101" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-95" value="" style="group" parent="BM-4Kg994bs4guJ47DU_-10" vertex="1" connectable="0">
<mxGeometry x="840" y="130" width="120" height="200" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-45" value="POST" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fillColor=#FFFFFF;" parent="BM-4Kg994bs4guJ47DU_-95" vertex="1">
<mxGeometry y="70" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-46" value="DELETE" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fillColor=#FFFFFF;" parent="BM-4Kg994bs4guJ47DU_-95" vertex="1">
<mxGeometry y="140" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-44" value="GET" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fillColor=#FFFFFF;" parent="BM-4Kg994bs4guJ47DU_-95" vertex="1">
<mxGeometry width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-51" value="" style="edgeStyle=none;shape=link;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;width=12;" parent="BM-4Kg994bs4guJ47DU_-95" source="BM-4Kg994bs4guJ47DU_-46" target="BM-4Kg994bs4guJ47DU_-45" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-50" value="" style="edgeStyle=none;shape=link;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;width=12;" parent="BM-4Kg994bs4guJ47DU_-95" source="BM-4Kg994bs4guJ47DU_-45" target="BM-4Kg994bs4guJ47DU_-44" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-98" value="<h1>kevent 처리</h1><div>상황에 맞춰서 호출한 처리 객체(함수, 혹은 클래스) 를 따라서 진행되고, 이 정보가 udata 속 정보에 의해 계속 감시된다.&nbsp;</div>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;fontColor=#000000;" parent="BM-4Kg994bs4guJ47DU_-10" vertex="1">
<mxGeometry x="670" y="330" width="310" height="120" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-106" style="edgeStyle=elbowEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;elbow=vertical;html=1;entryX=1;entryY=0.75;entryDx=0;entryDy=0;strokeColor=#97D077;fontColor=#000000;" parent="BM-4Kg994bs4guJ47DU_-10" source="BM-4Kg994bs4guJ47DU_-104" target="BM-4Kg994bs4guJ47DU_-21" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="160" y="175" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-107" value="<span style="background-color: rgb(181, 255, 196);">Client 요청 성공적 처리 완료<br>다음 이벤트를 위해 kevent 대기<br></span>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontColor=#000000;" parent="BM-4Kg994bs4guJ47DU_-106" vertex="1" connectable="0">
<mxGeometry x="-0.2412" y="-1" relative="1" as="geometry">
<mxPoint x="69" y="154" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-104" value="Finished Client Data&nbsp;<br>- Delete udata 속 내부 데이터 클리어&nbsp;<br>- client FD 는 재활용<br>READ 이벤트 재 등록<br>- client 상태 처리를 클리어" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fillColor=#FFFFFF;size=0.045454545454545456;" parent="BM-4Kg994bs4guJ47DU_-10" vertex="1">
<mxGeometry x="10" y="587" width="220" height="110" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-49" style="edgeStyle=elbowEdgeStyle;shape=flexArrow;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0;entryDx=0;entryDy=40;entryPerimeter=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" parent="1" source="BM-4Kg994bs4guJ47DU_-44" target="BM-4Kg994bs4guJ47DU_-8" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1030" y="380" as="sourcePoint" />
<Array as="points">
<mxPoint x="1000" y="270" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-52" value="Storage folder checking<br>read or writing" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="BM-4Kg994bs4guJ47DU_-49" vertex="1" connectable="0">
<mxGeometry x="0.2505" y="-1" relative="1" as="geometry">
<mxPoint x="9" y="-42" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-69" style="edgeStyle=orthogonalEdgeStyle;shape=flexArrow;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="BM-4Kg994bs4guJ47DU_-54" target="BM-4Kg994bs4guJ47DU_-21" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-70" value="Send Request MSG" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="BM-4Kg994bs4guJ47DU_-69" vertex="1" connectable="0">
<mxGeometry x="-0.2462" y="-2" relative="1" as="geometry">
<mxPoint x="12" y="-22" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-54" value="Client" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="-190" y="370" width="30" height="60" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-103" value="<h1>WebServ Processor</h1>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="445" y="200" width="310" height="40" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-74" style="edgeStyle=orthogonalEdgeStyle;shape=flexArrow;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="BM-4Kg994bs4guJ47DU_-72" target="BM-4Kg994bs4guJ47DU_-8" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1150" y="270" as="targetPoint" />
<Array as="points">
<mxPoint x="1430" y="920" />
<mxPoint x="1430" y="195" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-83" value="Access Log<br>Error Log<br>로그 저장" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="BM-4Kg994bs4guJ47DU_-74" vertex="1" connectable="0">
<mxGeometry x="-0.0417" y="-3" relative="1" as="geometry">
<mxPoint x="37" y="-200" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-113" value="" style="group" parent="1" vertex="1" connectable="0">
<mxGeometry x="1210" y="380" width="310" height="156" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-112" value="<h1>CGI Processor</h1>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;fontColor=#000000;" parent="BM-4Kg994bs4guJ47DU_-113" vertex="1">
<mxGeometry width="180" height="40" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-118" value="argv 로 인자 전달 가능&nbsp;<br>파이프로도 입출력 가능<br>데이터를 전달 받을 땐 파이프를 활용한다.&nbsp;" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="BM-4Kg994bs4guJ47DU_-113" vertex="1">
<mxGeometry y="40" width="180" height="100" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-119" style="edgeStyle=elbowEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;elbow=vertical;html=1;exitX=1;exitY=0.75;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="BM-4Kg994bs4guJ47DU_-113" source="BM-4Kg994bs4guJ47DU_-118" target="BM-4Kg994bs4guJ47DU_-118" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BM-4Kg994bs4guJ47DU_-115" value="" style="shape=flexArrow;endArrow=classic;startArrow=classic;html=1;rounded=0;strokeColor=#000000;fontColor=#000000;elbow=vertical;fillColor=#FFFFFF;" parent="1" edge="1">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="1070" y="470" as="sourcePoint" />
<mxPoint x="1190" y="470" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="T44SD6Ht-1nkP904AfLT-4" value="<b>GET</b><br>REQ FIN&nbsp;<br>1. uri 경로 바뀌<br>2. 파일 존재여부<br>3. 파일 open = fd -&gt; kevent&nbsp;<br>GET READY<br>------&nbsp;<br>4. file read -&gt; client html req<br>5. fin&nbsp;<br>GET FIN<br><br>resoponse handler<br>RES ...&nbsp;" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="1550" y="680" width="180" height="280" as="geometry" />
</mxCell>
<mxCell id="T44SD6Ht-1nkP904AfLT-5" style="edgeStyle=elbowEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;elbow=vertical;html=1;exitX=1;exitY=0.75;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="T44SD6Ht-1nkP904AfLT-4" target="T44SD6Ht-1nkP904AfLT-4">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="T44SD6Ht-1nkP904AfLT-6" value="POST&nbsp;<br>1. entity -&gt; 할당<br>2. 파일 만들기 -&gt; kevent&nbsp;<br>- - -<br>3. 파일쓰기&nbsp;<br>3-1 close&nbsp;<br>4. 파일 오픈 -&gt; kevent READ<br>- - -<br>5. 파일 사이즈 확인<br>6. close" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="1550" y="370" width="180" height="280" as="geometry" />
</mxCell>
<mxCell id="T44SD6Ht-1nkP904AfLT-7" value="<b>POST - 사진(CGI)</b><br>1. entity -&gt; 할당<br>2. 파일 만들기 -&gt; kevent(WRITE)&nbsp;<br>- - -<br>3. 파일쓰기<br>4. 파이프 열기 -&gt; kevent&nbsp;<br>5. 파이프 입력 close&nbsp;<br>6. clinet 가 가진 ptr 수정&nbsp;<br>7. POST 파일 fd 이벤트 delete<br>8. POST 파일 close&nbsp;<br>9. 파이프 출력 - 등록<br>10. fork - wait&nbsp;<br>- - -&nbsp;<br>11. pipe 출력 read&nbsp;<br>12. entity 넣기&nbsp;<br>끝&nbsp;" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="1740" y="370" width="180" height="280" as="geometry" />
</mxCell>
<mxCell id="T44SD6Ht-1nkP904AfLT-8" value="<b>POST - ASCII(CGI)<br></b>1. entity -&gt; 할당<br>2. 파이프 열기<br>3. client workptr 수정<br>4. POST FD 삭제(이벤트 삭제)<br>5. 파이프 입력 삭제, 출력 등록&nbsp;<br>6. fork -wait(-1)<br>- - -<br>7. pipe 출력 read&nbsp;<br>8. entity 넣기" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="1930" y="370" width="180" height="280" as="geometry" />
</mxCell>
<mxCell id="6TvLpmL7TTD4cdCRmSrF-1" value="<b>DELETE</b><br>1. 디렉터리 메서드 권한 검사<br>2.&nbsp; 파일 존재 여부 검사<br>3. 쿠키 ID로 소유주 확인 검사<br>3. 삭제&nbsp;<br>4. 끗&nbsp;" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="1740" y="680" width="180" height="280" as="geometry" />
</mxCell>
<mxCell id="6TvLpmL7TTD4cdCRmSrF-2" value="HTML 문서 캐쉬" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;strokeColor=#FF6026;" vertex="1" parent="1">
<mxGeometry x="-40" y="210" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="6TvLpmL7TTD4cdCRmSrF-3" value="err 문서 캐쉬" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;strokeColor=#FF6026;" vertex="1" parent="1">
<mxGeometry x="-40" y="280" width="120" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>